W3cubDocs

/Phalcon 2

Class Phalcon\Mvc\Model\MetaData\Strategy\Introspection

Phalcon\Mvc\Model\MetaData\Strategy\Instrospection Queries the table meta-data in order to instrospect the model’s metadata

Methods

public array getMetaData (Phalcon\Mvc\ModelInterface $model, Phalcon\DiInterface $dependencyInjector)

The meta-data is obtained by reading the column descriptions from the database information schema

public array getColumnMaps (Phalcon\Mvc\ModelInterface $model, Phalcon\DiInterface $dependencyInjector)

Read the model’s column map, this can’t be infered

© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/2.0.0/api/Phalcon_Mvc_Model_MetaData_Strategy_Introspection.html