-
initialize() : void
-
getMessage() : void
-
getFirstMessage() : void
-
getLastMessage() : void
-
-
getInstance() : Phalcon\Mvc\Model
-
newInstance() : Phalcon\Mvc\Model
-
-
beforeValidationOnCreate() : void
-
afterFetch() : void
-
beforeCreate() : void
-
beforeSave() : void
-
-
find with paginator
-
exists() : boolCheck if a reord is already exists?
-
-
如果想在更新某条记录的时候额外加入其他条件,可以使用此方法
-
-
columnMap field
-
-
getUniqueFields() : void
-
-
Gets the connection used to read data for the model
-
public function initialize()
-
public function getMessage()
-
public function getFirstMessage()
-
public function getLastMessage()
-
public function createBuilder(string $alias)
-
public static function getInstance()
-
public static function newInstance()
-
public static function batchInsert(array $columns, array $rows)
-
public function beforeValidationOnCreate()
-
public function afterFetch()
-
public function beforeCreate()
-
public function beforeSave()
-
public function findByPageable(variable $pagable, array $params)
-
public function findByPagable(variable $pagable, array $params)
find with paginatorSorry for the typo with method name -
public function exists()
Check if a reord is already exists? -
public function setUpdateCond(array $params)
-
public function setUpdateCondition(array $params)
如果想在更新某条记录的时候额外加入其他条件,可以使用此方法where = [ 'id > ?', // 占位符仅支持?形式,不支持:placeHolder这种形式 'bind' => [ 14 ] ]; -
public function setUqKeys(array $whereUk)
-
public function setUniqueKeys(array $whereUk)
columnMap field -
protected function _p_buildUkCond(variable $metaData, variable $connection)
-
public function getUniqueFields()
-
public function toProtoBuffer(variable $columns)
-
public function getReadConnection()
Gets the connection used to read data for the modelCheck transaction in writeConnection before `_transaction` -
internal function zephir_init_properties_PhalconPlus_Base_Model()