多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# Interface **Phalcon\Mvc\ModelInterface**[](# "永久链接至标题") ### Methods[](# "永久链接至标题") abstract public **setTransaction** (*unknown* $transaction) ... abstract public **getSource** () ... abstract public **getSchema** () ... abstract public **setConnectionService** (*unknown* $connectionService) ... abstract public **setWriteConnectionService** (*unknown* $connectionService) ... abstract public **setReadConnectionService** (*unknown* $connectionService) ... abstract public **getReadConnectionService** () ... abstract public **getWriteConnectionService** () ... abstract public **getReadConnection** () ... abstract public **getWriteConnection** () ... abstract public **setDirtyState** (*unknown* $dirtyState) ... abstract public **getDirtyState** () ... abstract public **assign** (*unknown* $data, [*unknown* $dataColumnMap], [*unknown* $whiteList]) ... abstract public static **cloneResultMap** (*unknown* $base, *unknown* $data, *unknown* $columnMap, [*unknown* $dirtyState], [*unknown* $keepSnapshots]) ... abstract public static **cloneResult** (*unknown* $base, *unknown* $data, [*unknown* $dirtyState]) ... abstract public static **cloneResultMapHydrate** (*unknown* $data, *unknown* $columnMap, *unknown* $hydrationMode) ... abstract public static **find** ([*unknown* $parameters]) ... abstract public static **findFirst** ([*unknown* $parameters]) ... abstract public static **query** ([*unknown* $dependencyInjector]) ... abstract public static **count** ([*unknown* $parameters]) ... abstract public static **sum** ([*unknown* $parameters]) ... abstract public static **maximum** ([*unknown* $parameters]) ... abstract public static **minimum** ([*unknown* $parameters]) ... abstract public static **average** ([*unknown* $parameters]) ... abstract public **fireEvent** (*unknown* $eventName) ... abstract public **fireEventCancel** (*unknown* $eventName) ... abstract public **appendMessage** (*unknown* $message) ... abstract public **validationHasFailed** () ... abstract public **getMessages** () ... abstract public **save** ([*unknown* $data], [*unknown* $whiteList]) ... abstract public **create** ([*unknown* $data], [*unknown* $whiteList]) ... abstract public **update** ([*unknown* $data], [*unknown* $whiteList]) ... abstract public **delete** () ... abstract public **getOperationMade** () ... abstract public **refresh** () ... abstract public **skipOperation** (*unknown* $skip) ... abstract public **getRelated** (*unknown* $alias, [*unknown* $arguments]) ... abstract public **setSnapshotData** (*unknown* $data, [*unknown* $columnMap]) ... abstract public **reset** () ... | - [索引](# "总目录") - [下一页](# "Interface Phalcon\Mvc\Model\BehaviorInterface") | - [上一页](# "Interface Phalcon\Mvc\Micro\MiddlewareInterface") | - [API Indice](#) »