Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 3787 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3787 Rev 4113
Línea 114... Línea 114...
114
        $prototype = new Competency();
114
        $prototype = new Competency();
115
        return $this->executeFetchAllObject($select, $prototype);
115
        return $this->executeFetchAllObject($select, $prototype);
116
    }
116
    }
Línea -... Línea 117...
-
 
117
    
-
 
118
    
-
 
119
    
-
 
120
    /**
-
 
121
     *
-
 
122
     * @return Competency[]
-
 
123
     */
-
 
124
    public function fetchAllActiveByDefault()
-
 
125
    {
-
 
126
        $select = $this->sql->select(self::_TABLE);
-
 
127
        $select->where->equalTo('status', Competency::STATUS_ACTIVE);
-
 
128
        $select->where->isNull('company_id');
-
 
129
        $prototype = new Competency();
-
 
130
        return $this->executeFetchAllObject($select, $prototype);
-
 
131
    }
117
    
132
    
118
    
133
    
119
    /**
134
    /**
120
     *
135
     *
121
     * @return Competency[]
136
     * @return Competency[]