Documentation

內容目录

上一个主题

< Interface Phalcon\Mvc\Model\CriteriaInterface

下一个主题

Interface Phalcon\Mvc\Model\MessageInterface >

本页

Interface Phalcon\Mvc\Model\ManagerInterface

Source on GitHub

Methods

abstract public initialize (Phalcon\Mvc\ModelInterface $model)

...

abstract public setModelSource (Phalcon\Mvc\ModelInterface $model, unknown $source)

...

abstract public getModelSource (Phalcon\Mvc\ModelInterface $model)

...

abstract public setModelSchema (Phalcon\Mvc\ModelInterface $model, unknown $schema)

...

abstract public getModelSchema (Phalcon\Mvc\ModelInterface $model)

...

abstract public setConnectionService (Phalcon\Mvc\ModelInterface $model, unknown $connectionService)

...

abstract public setReadConnectionService (Phalcon\Mvc\ModelInterface $model, unknown $connectionService)

...

abstract public getReadConnectionService (Phalcon\Mvc\ModelInterface $model)

...

abstract public setWriteConnectionService (Phalcon\Mvc\ModelInterface $model, unknown $connectionService)

...

abstract public getWriteConnectionService (Phalcon\Mvc\ModelInterface $model)

...

abstract public getReadConnection (Phalcon\Mvc\ModelInterface $model)

...

abstract public getWriteConnection (Phalcon\Mvc\ModelInterface $model)

...

abstract public isInitialized (unknown $modelName)

...

abstract public getLastInitialized ()

...

abstract public load (unknown $modelName, [unknown $newInstance])

...

abstract public addHasOne (Phalcon\Mvc\ModelInterface $model, unknown $fields, unknown $referencedModel, unknown $referencedFields, [unknown $options])

...

abstract public addBelongsTo (Phalcon\Mvc\ModelInterface $model, unknown $fields, unknown $referencedModel, unknown $referencedFields, [unknown $options])

...

abstract public addHasMany (Phalcon\Mvc\ModelInterface $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, Phalcon\Mvc\ModelInterface $record, [unknown $parameters])

...

abstract public getHasManyRecords (unknown $method, unknown $modelName, unknown $modelRelation, Phalcon\Mvc\ModelInterface $record, [unknown $parameters])

...

abstract public getHasOneRecords (unknown $method, unknown $modelName, unknown $modelRelation, Phalcon\Mvc\ModelInterface $record, [unknown $parameters])

...

abstract public getBelongsTo (Phalcon\Mvc\ModelInterface $model)

...

abstract public getHasMany (Phalcon\Mvc\ModelInterface $model)

...

abstract public getHasOne (Phalcon\Mvc\ModelInterface $model)

...

abstract public getHasOneAndHasMany (Phalcon\Mvc\ModelInterface $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 (Phalcon\Mvc\ModelInterface $model, Phalcon\Mvc\Model\BehaviorInterface $behavior)

...

abstract public notifyEvent (unknown $eventName, Phalcon\Mvc\ModelInterface $model)

...

abstract public missingMethod (Phalcon\Mvc\ModelInterface $model, unknown $eventName, unknown $data)

...

abstract public getLastQuery ()

...

abstract public getRelationByAlias (unknown $modelName, unknown $alias)

...

Follow along: