src/Utipd/MysqlModel/BaseMysqlDirectory.php
public function create($create_vars=[]) {
        // add
        $new_model_doc_vars = array_merge($this->newModelDefaults(), $create_vars);
        $new_model_doc_vars = $this->onCreate_pre($new_model_doc_vars);

        return $this->newModel($new_model_doc_vars);
    }
public function create($create_vars=[]) {
        // add
        $new_model_doc_vars = array_merge($this->newModelDefaults(), $create_vars);
        $new_model_doc_vars = $this->onCreate_pre($new_model_doc_vars);

        return $this->newModel($new_model_doc_vars);
    }
public function create ( $ create_vars = [ ] ) { // add $ new_model_doc_vars = array_merge ( $ this -> newModelDefaults ( ) , $ create_vars ) ; $ new_model_doc_vars = $ this -> onCreate_pre ( $ new_model_doc_vars ) ; return $ this -> newModel ( $ new_model_doc_vars ) ; }
creates a model without saving to the database
@param  array $create_vars
@return BaseMysqlModel a new model
creates a model without saving to the database