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

Public Member Functions

 __construct ($crudControllerName, $crudDatas=null, $crudViewer=null, $crudEvents=null, $crudViews=null, $routePath='', $useViewInheritance=false, $style='')
 
 create (ScaffoldController $scaffoldController)
 
- Public Member Functions inherited from CrudControllerCreator
 __construct ($crudControllerName, $resource, $crudDatas=null, $crudViewer=null, $crudEvents=null, $crudViews=null, $routePath='', $useViewInheritance=false, $style='')
 
 createCRUDFilesClass ($classContent="")
 
- Public Member Functions inherited from BaseControllerCreator
 __construct ($controllerName, $routePath, $views, $useViewInheritance)
 
 getTemplateName ()
 
 setTemplateName ($templateName)
 
- Public Member Functions inherited from HasUsesTrait
 getUses ()
 
 addUse ($classname)
 
 addUses (... $classnames)
 
 getUsesStr ()
 

Protected Member Functions

 getHome ($path)
 
- Protected Member Functions inherited from CrudControllerCreator
 createElements (string $nsc, string $crudControllerName, ScaffoldController $scaffoldController, array &$messages, string &$classContent)
 
 addViews (&$messages, &$classContent)
 
 createCRUDDatasClass ()
 
 createModelViewerClass ()
 
 createEventsClass ()
 
- Protected Member Functions inherited from BaseControllerCreator
 getNamespaceStr ()
 
 getRouteAnnotation ($path, $automated=true, $inherited=true)
 
 getAnnotation (string $type, array $attributes)
 

Additional Inherited Members

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

Detailed Description

Definition at line 10 of file IndexCrudControllerCreator.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $crudControllerName,
  $crudDatas = null,
  $crudViewer = null,
  $crudEvents = null,
  $crudViews = null,
  $routePath = '',
  $useViewInheritance = false,
  $style = '' 
)

Definition at line 12 of file IndexCrudControllerCreator.php.

Member Function Documentation

◆ create()

create ( ScaffoldController  $scaffoldController)

Reimplemented from CrudControllerCreator.

Definition at line 18 of file IndexCrudControllerCreator.php.

◆ getHome()

getHome (   $path)
protected

Definition at line 75 of file IndexCrudControllerCreator.php.


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