Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
RestControllerCreator Class Reference
+ Inheritance diagram for RestControllerCreator:

Public Member Functions

 __construct ($restControllerName, $baseClass, $resource='', $routePath='')
 
 create (ScaffoldController $scaffoldController, $reInit=null)
 
- Public Member Functions inherited from BaseControllerCreator
 create (ScaffoldController $scaffoldController)
 
 getTemplateName ()
 
 setTemplateName ($templateName)
 
- Public Member Functions inherited from HasUsesTrait
 getUses ()
 
 addUse ($classname)
 
 addUses (... $classnames)
 
 getUsesStr ()
 

Protected Member Functions

 addVariablesForReplacement (&$variables)
 
 addViews (&$messages, &$classContent)
 
- Protected Member Functions inherited from BaseControllerCreator
 getNamespaceStr ()
 
 getRouteAnnotation ($path, $automated=true, $inherited=true)
 
 getAnnotation (string $type, array $attributes)
 

Private Attributes

 $resource
 
 $baseClass
 

Additional Inherited Members

- Protected Attributes inherited from BaseControllerCreator
 $controllerName
 
 $routePath
 
 $views
 
 $controllerNS
 
 $templateName
 
 $useViewInheritance
 
 $scaffoldController
 
- Protected Attributes inherited from HasUsesTrait
 $uses =[]
 

Detailed Description

Definition at line 22 of file RestControllerCreator.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $restControllerName,
  $baseClass,
  $resource = '',
  $routePath = '' 
)

Reimplemented from BaseControllerCreator.

Definition at line 25 of file RestControllerCreator.php.

Member Function Documentation

◆ addVariablesForReplacement()

addVariablesForReplacement ( $variables)
protected

Definition at line 80 of file RestControllerCreator.php.

◆ addViews()

addViews ( $messages,
$classContent 
)
protected

Reimplemented from BaseControllerCreator.

Definition at line 88 of file RestControllerCreator.php.

◆ create()

create ( ScaffoldController  $scaffoldController,
  $reInit = null 
)

Definition at line 38 of file RestControllerCreator.php.

Field Documentation

◆ $baseClass

$baseClass
private

Definition at line 24 of file RestControllerCreator.php.

◆ $resource

$resource
private

Definition at line 23 of file RestControllerCreator.php.


The documentation for this class was generated from the following file: