Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 5935 Rev 6001
Línea 92... Línea 92...
92
        
92
        
93
        $prototype = new KnowledgeAreaCategory();
93
        $prototype = new KnowledgeAreaCategory();
94
        return $this->executeFetchAllObject($select, $prototype);
94
        return $this->executeFetchAllObject($select, $prototype);
Línea -... Línea 95...
-
 
95
    }
-
 
96
    
-
 
97
    
-
 
98
    /**
-
 
99
     *
-
 
100
     * @param int $network_id
-
 
101
     * @return KnowledgeAreaCategory[]
-
 
102
     */
-
 
103
    public function fetchAllPublicByNetworkId($network_id)
-
 
104
    {
-
 
105
        
-
 
106
        $select = $this->sql->select(self::_TABLE);
-
 
107
        $select->where->equalTo('network_id', $network_id);
-
 
108
        $select->order('name DESC');
-
 
109
        
-
 
110
        $prototype = new KnowledgeAreaCategory();
-
 
111
        return $this->executeFetchAllObject($select, $prototype);
-
 
112
    }
-
 
113
    
-
 
114
    /**
-
 
115
     *
-
 
116
     * @param array $ids
-
 
117
     * @return KnowledgeAreaCategory[]
-
 
118
     */
-
 
119
    public function fetchAllByIds($ids)
-
 
120
    {
-
 
121
        
-
 
122
        $select = $this->sql->select(self::_TABLE);
-
 
123
        $select->where->in('id', $ids);
-
 
124
        $select->order('name DESC');
-
 
125
        
-
 
126
        $prototype = new KnowledgeAreaCategory();
-
 
127
        return $this->executeFetchAllObject($select, $prototype);
95
    }
128
    }
96
    
129
    
97
    /**
130
    /**
98
     *
131
     *
99
     * @param int $id
132
     * @param int $id