public function selectByIds(array $ids = array())
    {
        if (empty($ids)) {
            return array();
        }

        $ids = array_map('intval', $ids);

        $sql = $this->getSelectQueryByIds($ids);

        $resultSet = $this->db->fetchAll($sql);

        return $this->implementVOs($resultSet);
    }
public function selectByIds(array $ids = array())
    {
        if (empty($ids)) {
            return array();
        }

        $ids = array_map('intval', $ids);

        $sql = $this->getSelectQueryByIds($ids);

        $resultSet = $this->db->fetchAll($sql);

        return $this->implementVOs($resultSet);
    }
public function selectByIds ( array $ ids = array ( ) ) { if ( empty ( $ ids ) ) { return array ( ) ; } $ ids = array_map ( 'intval' , $ ids ) ; $ sql = $ this -> getSelectQueryByIds ( $ ids ) ; $ resultSet = $ this -> db -> fetchAll ( $ sql ) ; return $ this -> implementVOs ( $ resultSet ) ; }
Gets a bunch of \Berthe\AbstractVOVO from database from their ids
@param array $ids
@return \Berthe\VO
Gets a bunch of \ Berthe \ AbstractVOVO from database from their ids