public function getWhereIdIn(array $ids)
    {
        return $this->connection
            ->select()
            ->from($this->dummy->getTableName())
            ->whereIn($this->dummy->getIdField(), $ids)
            ->getAsClasses($this->getModelClass());
    }
public function getWhereIdIn(array $ids)
    {
        return $this->connection
            ->select()
            ->from($this->dummy->getTableName())
            ->whereIn($this->dummy->getIdField(), $ids)
            ->getAsClasses($this->getModelClass());
    }
public function getWhereIdIn ( array $ ids ) { return $ this -> connection -> select ( ) -> from ( $ this -> dummy -> getTableName ( ) ) -> whereIn ( $ this -> dummy -> getIdField ( ) , $ ids ) -> getAsClasses ( $ this -> getModelClass ( ) ) ; }
Return the instances, which have the ID in the parameter array

@param array $ids The IDs which are needed

@return Model[]
Return the instances which have the ID in the parameter array