PHP Class RainLab\Builder\Classes\ControllerModel

Author: Alexey Bobkov, Samuel Georges
Inheritance: extends RainLab\Builder\Classes\BaseModel
Afficher le fichier Open project: rainlab/builder-plugin Class Usage Examples

Méthodes publiques

Свойство Type Description
$baseModelClassName
$behaviors
$controller
$menuItem
$permissions

Protected Properties

Свойство Type Description
$fillable
$validationRules

Méthodes publiques

Méthode Description
fill ( array $attributes )
getBaseModelClassNameOptions ( )
getBehaviorsOptions ( )
getControllerFilePath ( $controllerFilesDirectory = false )
getMenuItemOptions ( )
getPermissionsOptions ( )
getPluginRegistryData ( $pluginCode, $subtype )
listPluginControllers ( $pluginCodeObj )
load ( $controller )
save ( )

Méthodes protégées

Méthode Description
generateController ( )
loadBehaviorConfiguration ( $fileName, $behaviorClass )
loadControllerBehaviors ( )
saveBehaviorConfiguration ( $fileName, $configuration, $behaviorClass )
saveController ( )
trimExtension ( $fileName )
validateFileName ( $fileName )

Method Details

fill() public méthode

public fill ( array $attributes )
$attributes array

generateController() protected méthode

protected generateController ( )

getBaseModelClassNameOptions() public méthode

getBehaviorsOptions() public méthode

public getBehaviorsOptions ( )

getControllerFilePath() public méthode

public getControllerFilePath ( $controllerFilesDirectory = false )

getMenuItemOptions() public méthode

public getMenuItemOptions ( )

getPermissionsOptions() public méthode

getPluginRegistryData() public static méthode

public static getPluginRegistryData ( $pluginCode, $subtype )

listPluginControllers() public static méthode

public static listPluginControllers ( $pluginCodeObj )

load() public méthode

public load ( $controller )

loadBehaviorConfiguration() protected méthode

protected loadBehaviorConfiguration ( $fileName, $behaviorClass )

loadControllerBehaviors() protected méthode

protected loadControllerBehaviors ( )

save() public méthode

public save ( )

saveBehaviorConfiguration() protected méthode

protected saveBehaviorConfiguration ( $fileName, $configuration, $behaviorClass )

saveController() protected méthode

protected saveController ( )

trimExtension() protected méthode

protected trimExtension ( $fileName )

validateFileName() protected méthode

protected validateFileName ( $fileName )

Property Details

$baseModelClassName public_oe property

public $baseModelClassName

$behaviors public_oe property

public $behaviors

$controller public_oe property

public $controller

$fillable protected_oe static_oe property

protected static $fillable

$menuItem public_oe property

public $menuItem

$permissions public_oe property

public $permissions

$validationRules protected_oe property

protected $validationRules