W3cubDocs

/Phalcon 2

Class Phalcon\Mvc\Model\MetaData\Strategy\Annotations

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 ()

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

© 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_Annotations.html