You are here

public function RestfulBase::getControllers in RESTful 7

Get the defined controllers

Return value

array The defined controllers.

2 calls to RestfulBase::getControllers()
RestfulBase::getControllerFromPath in plugins/restful/RestfulBase.php
Return the controller from a given path.
RestfulBase::options in plugins/restful/RestfulBase.php
Call resource using the OPTIONS http method.

File

plugins/restful/RestfulBase.php, line 333
Contains RestfulBase.

Class

RestfulBase
Class \RestfulBase

Code

public function getControllers() {
  if (!empty($this->controllers)) {
    return $this->controllers;
  }
  $this->controllers = static::controllersInfo();
  return $this->controllers;
}