Tutorial 5: Customizing INVO

To finish the detailed explanation of INVO we are going to explain how to customize INVO adding UI elements and changing the title according to the controller executed. User Components All the UI elements and visual style of the application has been achieved mostly through Bootstrap. Some elements, such as the navigation bar changes according to the state of the application. For example, in the upper right corner, the link “Log in / Sign Up” changes to “Log out” if a user is logged into the app

Mvc\Model\MetaData\Strategy\Annotations

implements Phalcon\Mvc\Model\MetaData\StrategyInterface Source on GitHub Methods final public getMetaData (Phalcon\Mvc\ModelInterface $model, Phalcon\DiInterface $dependencyInjector) The meta-data is obtained by reading the column descriptions from the database information schema final public getColumnMaps (Phalcon\Mvc\ModelInterface $model, Phalcon\DiInterface $dependencyInjector) Read the model’s column map, this can’t be inferred

Mvc\Model\MetaData\Libmemcached::MODELS_NON_PRIMARY_KEY

integer MODELS_NON_PRIMARY_KEY

Mvc\Model\ManagerInterface::executeQuery

abstract public executeQuery (mixed $phql, [mixed $placeholders]) ...

Security::getRandom

public getRandom () Returns a secure random number generator instance

Mvc\Model\MetaData\Memcache::write

public write (mixed $key, mixed $data) Writes the metadata to Memcache

Translate\Adapter\Gettext::setLocale

public setLocale (mixed $category, mixed $locale) Sets locale information // Set locale to Dutch $gettext->setLocale(LC_ALL, 'nl_NL'); // Try different possible locale names for german $gettext->setLocale(LC_ALL, '[email protected]', 'de_DE', 'de', 'ge');

DiInterface::remove

abstract public remove (mixed $name) ...

Http\RequestInterface::getScheme

abstract public getScheme () ...

Mvc\Model\Validator\Exclusionin::validate

public validate (Phalcon\Mvc\EntityInterface $record) Executes the validator