public function select($model = array(), $returnType = Table::RETURN_MODEL) {
        $this->insertJoins();
        if (!is_array($model)) {
            $model = array($model);
        }

        $this->isSelect = true;
        return parent::select($model, $returnType);
    }
public function select($model = array(), $returnType = Table::RETURN_MODEL) {
        $this->insertJoins();
        if (!is_array($model)) {
            $model = array($model);
        }

        $this->isSelect = true;
        return parent::select($model, $returnType);
    }
public function select ( $ model = array ( ) , $ returnType = Table :: RETURN_MODEL ) { $ this -> insertJoins ( ) ; if ( ! is_array ( $ model ) ) { $ model = array ( $ model ) ; } $ this -> isSelect = true ; return parent :: select ( $ model , $ returnType ) ; }
Selects data from database with non-NULL model properties as criteria
@param array|Mapper $model a model or an array of models as criteria
@param int $returnType Indicates the type of return expected.
Possible values (Table::RETURN_MODEL | Table::RETURN_JSON | Table::RETURN_DEFAULT)
@return Repository
Selects data from database with non - NULL model properties as criteria