多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# Interface **Phalcon\Mvc\Model\ManagerInterface**[](# "永久链接至标题") ### Methods[](# "永久链接至标题") abstract public **initialize** (*unknown* $model) ... abstract public **setModelSource** (*unknown* $model, *unknown* $source) ... abstract public **getModelSource** (*unknown* $model) ... abstract public **setModelSchema** (*unknown* $model, *unknown* $schema) ... abstract public **getModelSchema** (*unknown* $model) ... abstract public **setConnectionService** (*unknown* $model, *unknown* $connectionService) ... abstract public **setReadConnectionService** (*unknown* $model, *unknown* $connectionService) ... abstract public **getReadConnectionService** (*unknown* $model) ... abstract public **setWriteConnectionService** (*unknown* $model, *unknown* $connectionService) ... abstract public **getWriteConnectionService** (*unknown* $model) ... abstract public **getReadConnection** (*unknown* $model) ... abstract public **getWriteConnection** (*unknown* $model) ... abstract public **isInitialized** (*unknown* $modelName) ... abstract public **getLastInitialized** () ... abstract public **load** (*unknown* $modelName, [*unknown* $newInstance]) ... abstract public **addHasOne** (*unknown* $model, *unknown* $fields, *unknown* $referencedModel, *unknown* $referencedFields, [*unknown* $options]) ... abstract public **addBelongsTo** (*unknown* $model, *unknown* $fields, *unknown* $referencedModel, *unknown* $referencedFields, [*unknown* $options]) ... abstract public **addHasMany** (*unknown* $model, *unknown* $fields, *unknown* $referencedModel, *unknown* $referencedFields, [*unknown* $options]) ... abstract public **existsBelongsTo** (*unknown* $modelName, *unknown* $modelRelation) ... abstract public **existsHasMany** (*unknown* $modelName, *unknown* $modelRelation) ... abstract public **existsHasOne** (*unknown* $modelName, *unknown* $modelRelation) ... abstract public **getBelongsToRecords** (*unknown* $method, *unknown* $modelName, *unknown* $modelRelation, *unknown* $record, [*unknown* $parameters]) ... abstract public **getHasManyRecords** (*unknown* $method, *unknown* $modelName, *unknown* $modelRelation, *unknown* $record, [*unknown* $parameters]) ... abstract public **getHasOneRecords** (*unknown* $method, *unknown* $modelName, *unknown* $modelRelation, *unknown* $record, [*unknown* $parameters]) ... abstract public **getBelongsTo** (*unknown* $model) ... abstract public **getHasMany** (*unknown* $model) ... abstract public **getHasOne** (*unknown* $model) ... abstract public **getHasOneAndHasMany** (*unknown* $model) ... abstract public **getRelations** (*unknown* $modelName) ... abstract public **getRelationsBetween** (*unknown* $first, *unknown* $second) ... abstract public **createQuery** (*unknown* $phql) ... abstract public **executeQuery** (*unknown* $phql, [*unknown* $placeholders]) ... abstract public **createBuilder** ([*unknown* $params]) ... abstract public **addBehavior** (*unknown* $model, *unknown* $behavior) ... abstract public **notifyEvent** (*unknown* $eventName, *unknown* $model) ... abstract public **missingMethod** (*unknown* $model, *unknown* $eventName, *unknown* $data) ... abstract public **getLastQuery** () ... abstract public **getRelationByAlias** (*unknown* $modelName, *unknown* $alias) ... | - [索引](# "总目录") - [下一页](# "Interface Phalcon\Mvc\Model\MessageInterface") | - [上一页](# "Interface Phalcon\Mvc\Model\CriteriaInterface") | - [API Indice](#) »