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 FullModelGenerator

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 FullModelGenerator::$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 FullModelGenerator
Package: system\gii
Author: Qiang Xue <qiang.xue@gmail.com>
Version: $Id$
Since: 1.1.2
Located at phundament/gii-template-collection/fullModel/FullModelGenerator.php

Methods summary

protected array
# getTables( mixed $dbConnection )

Returns the table names in an array. The array is used to build the autocomplete field. An '*' is appended to the end of the list to allow the generation of models for all tables.

Returns the table names in an array. The array is used to build the autocomplete field. An '*' is appended to the end of the list to allow the generation of models for all tables.

Returns

array
the names of all tables in the schema, plus an '*'

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