PHP Class PhalconRest\Export\Documentation

Inheritance: extends PhalconRest\Mvc\Plugin
Show file Open project: olivierandriessen/phalcon-rest Class Usage Examples

Public Properties

Property Type Description
$basePath
$name

Protected Properties

Property Type Description
$collections
$routes

Public Methods

Method Description
__construct ( $name, $basePath )
addCollection ( ApiCollection $apiCollection )
addManyCollections ( array $collections )
addManyRoutes ( array $routes )
addRoute ( Phalcon\Mvc\Router\Route $route )
getCollections ( )
getRoutes ( )

Method Details

__construct() public method

public __construct ( $name, $basePath )

addCollection() public method

public addCollection ( ApiCollection $apiCollection )
$apiCollection PhalconRest\Api\ApiCollection

addManyCollections() public method

public addManyCollections ( array $collections )
$collections array

addManyRoutes() public method

public addManyRoutes ( array $routes )
$routes array

addRoute() public method

public addRoute ( Phalcon\Mvc\Router\Route $route )
$route Phalcon\Mvc\Router\Route

getCollections() public method

public getCollections ( )

getRoutes() public method

public getRoutes ( )

Property Details

$basePath public property

public $basePath

$collections protected property

protected $collections

$name public property

public $name

$routes protected property

protected $routes