Mvc\User\Component

extends abstract class Phalcon\Di\Injectable implements Phalcon\Events\EventsAwareInterface, Phalcon\Di\InjectionAwareInterface Source on GitHub Methods public setDI (Phalcon\DiInterface $dependencyInjector) inherited from Phalcon\Di\Injectable Sets the dependency injector public getDI () inherited from Phalcon\Di\Injectable Returns the internal dependency injector public setEventsManager (Phalcon\Events\ManagerInterface $eventsManager) inherited from Phalcon\Di\Injectable Sets the event man

Mvc\Router::setDefaultNamespace

public setDefaultNamespace (mixed $namespaceName) Sets the name of the default namespace

Loader::registerFiles

public registerFiles (array $files, [mixed $merge]) Registers files that are “non-classes” hence need a “require”. This is very useful for including files that only have functions

Mvc\Collection::update

public update () Creates/Updates a collection based on the values in the attributes

Mvc\Router\RouteInterface::getPattern

abstract public getPattern () ...

Mvc\Router\Route::getRoutePaths

public static getRoutePaths ([mixed $paths]) Returns routePaths

Http\Request::getDigestAuth

public getDigestAuth () Gets auth info accepted by the browser/client from $_SERVER[‘PHP_AUTH_DIGEST’]

Mvc\Model::cloneResult

public static Phalcon\Mvc\ModelInterface cloneResult (Phalcon\Mvc\ModelInterface $base, array $data, [int $dirtyState]) Assigns values to a model from an array returning a new model $robot = Phalcon\Mvc\Model::cloneResult(new Robots(), array( 'type' => 'mechanical', 'name' => 'Astro Boy', 'year' => 1952 ));

Logger::NOTICE

integer NOTICE

Mvc\Model::getMessages

public getMessages ([mixed $filter]) Returns array of validation messages $robot = new Robots(); $robot->type = 'mechanical'; $robot->name = 'Astro Boy'; $robot->year = 1952; if ($robot->save() == false) { echo "Umh, We can't store robots right now "; foreach ($robot->getMessages() as $message) { echo $message; } } else { echo "Great, a new robot was saved successfully!"; }