Class BootstrapGenerator
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 BootstrapGenerator::$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
-
CBaseController
-
CController
-
CCodeGenerator
-
CrudGenerator
-
BootstrapGenerator
Copyright: Copyright © Christoffer Niska 2011-
License: New BSD License
Author: Qiang Xue <qiang.xue@gmail.com>
Version: $Id$
Since: 1.1.2
Located at crisu83/yii-bootstrap/gii/bootstrap/BootstrapGenerator.php
Methods summary
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. |
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