Phundament App Class Reference
  • Package
  • Class
  • Tree

Packages

  • bootstrap
    • widgets
      • input
  • Image
  • None
  • p3admin
  • p3extensions
    • behaviors
    • commands
    • components
    • helpers
    • widgets
  • p3media
    • actions
    • controllers
    • models
  • p3pages
    • models
  • p3widgets
    • components
    • models
  • PHP
  • system
    • db
      • ar
    • gii
    • web
      • auth
      • helpers
      • widgets
  • yiiext
    • widgets
      • fancybox
      • lipsum
  • zii
    • widgets
      • grid

Classes

  • BootstrapCode
  • BootstrapGenerator
  • FullCrudCode
  • FullCrudGenerator
  • FullModelCode
  • FullModelGenerator

Class FullCrudGenerator

CCodeGenerator is the base class for code generator classes.

CCodeGenerator is a controller that predefines several actions for code generation purpose. Derived classes mainly need to configure the FullCrudGenerator::$codeModel property override the getSuccessMessage method. The former specifies which code model (extending CCodeModel) that this generator should use, while the latter should return a success message to be displayed when code files are successfully generated.

CComponent
Extended by CBaseController
Extended by CController
Extended by CCodeGenerator
Extended by FullCrudGenerator
Package: system\gii
Author: Qiang Xue <qiang.xue@gmail.com>
Version: $Id$
Since: 1.1.2
Located at phundament/gii-template-collection/fullCrud/FullCrudGenerator.php

Methods summary

protected array
# getModels( )

Returns the model names and, if possible, the attributes in an array. Only non abstract and superclasses of CActiveRecord models are returned. The array is used to build the autocomplete field and the list of possible columns in the FullCrud form.

Returns the model names and, if possible, the attributes in an array. Only non abstract and superclasses of CActiveRecord models are returned. The array is used to build the autocomplete field and the list of possible columns in the FullCrud form.

Returns

array
key = names and value = attributes of the models
protected
# getAuthTemplates( )

Methods inherited from CCodeGenerator

actionCode(), actionDiff(), actionIndex(), getPageTitle(), getViewPath(), prepare(), setViewPath()

Methods inherited from CController

__construct(), accessRules(), actions(), afterAction(), afterRender(), beforeAction(), beforeRender(), behaviors(), clearPageStates(), createAbsoluteUrl(), createAction(), createActionFromMap(), createUrl(), filterAccessControl(), filterAjaxOnly(), filterPostOnly(), filters(), forward(), getAction(), getActionParams(), getCachingStack(), getClips(), getId(), getLayoutFile(), getModule(), getPageState(), getRoute(), getUniqueId(), getViewFile(), init(), invalidActionParams(), isCachingStackEmpty(), loadPageStates(), missingAction(), processDynamicOutput(), processOutput(), recordCachingAction(), redirect(), refresh(), render(), renderClip(), renderDynamic(), renderDynamicInternal(), renderPartial(), renderText(), replaceDynamicOutput(), resolveViewFile(), run(), runAction(), runActionWithFilters(), savePageStates(), setAction(), setPageState(), setPageTitle()

Methods inherited from CBaseController

beginCache(), beginClip(), beginContent(), beginWidget(), createWidget(), endCache(), endClip(), endContent(), endWidget(), renderFile(), renderInternal(), widget()

Methods inherited from CComponent

__call(), __get(), __isset(), __set(), __unset(), asa(), attachBehavior(), attachBehaviors(), attachEventHandler(), canGetProperty(), canSetProperty(), detachBehavior(), detachBehaviors(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), getEventHandlers(), hasEvent(), hasEventHandler(), hasProperty(), raiseEvent()

Magic methods summary

Constants summary

Constants inherited from CController

STATE_INPUT_NAME

Properties summary

public string $codeModel
#

the code model class. This can be either a class name (if it can be autoloaded) or a path alias referring to the class file. Child classes must configure this property with a concrete value.

the code model class. This can be either a class name (if it can be autoloaded) or a path alias referring to the class file. Child classes must configure this property with a concrete value.

Properties inherited from CCodeGenerator

$layout, $templates

Properties inherited from CController

$defaultAction

Magic properties inherited from CCodeGenerator

$pageTitle, $viewPath

Magic properties inherited from CController

$action, $actionParams, $cachingStack, $clips, $id, $module, $route, $uniqueId

Phundament App Class Reference API documentation generated by ApiGen 2.8.0