public initialize (Phalcon\Mvc\CollectionInterface $model) Initializes a model in the models manager
abstract public getPartialsDir () ...
public get (mixed $name) Returns the first annotation that match a name
public string | array | null getColumns () Returns the columns to be queried
public get (string | object $className) Parses or retrieves all the annotations found in a class
public addCss (mixed $path, [mixed $local], [mixed $filter], [mixed $attributes]) Adds a Css resource to the ‘css’ collection $assets->addCss('css/bootstrap.css'); $assets->addCss('http://bootstrap.my-cdn.com/style.css', false);
public getDI () Returns the dependency injection container
Source on GitHub Methods abstract public setDefaultModule (mixed $moduleName) ... abstract public setDefaultTask (mixed $taskName) ... abstract public setDefaultAction (mixed $actionName) ... abstract public setDefaults (array $defaults) ... abstract public handle ([mixed $arguments]) ... abstract public add (mixed $pattern, [mixed $paths]) ... abstract public getModuleName () ... abstract public getTaskName () ... abstract public getActionName () ... abstract public getParams () ... abstract p
public Phalcon\Mvc\Micro\Collection options (string $routePattern, callable $handler, [mixed $name]) Maps a route to a handler that only matches if the HTTP method is OPTIONS
public getPrefix () Returns the collection prefix if any
Page 18 of 382