PHP Класс RainLab\Builder\Classes\PluginBaseModel

Автор: Alexey Bobkov, Samuel Georges
Наследование: extends RainLab\Builder\Classes\PluginYamlModel
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$author
$author_namespace
$description
$homepage
$icon
$name
$namespace

Защищенные свойства (Protected)

Свойство Тип Описание
$fillable
$localizedDescription
$localizedName
$validationRules
$yamlSection

Открытые методы

Метод Описание
getIconOptions ( )
getPluginCode ( )
initDefaults ( )
listAllPluginCodes ( )

Защищенные методы

Метод Описание
afterCreate ( )
beforeCreate ( )
forcePluginRegistration ( )
getFilePath ( ) : string Returns a file path to save the model to.
getPluginPath ( )
getPluginPathObj ( )
initBuilderSettings ( )
initPluginStructure ( )
initPropertiesFromPluginCodeObject ( $pluginCodeObj )
modelToYamlArray ( ) : array Converts the model's data to an array before it's saved to a YAML file.
rollbackPluginCreation ( )
sanitizePHPString ( $str )
yamlArrayToModel ( array $array ) Load the model's data from an array.

Описание методов

afterCreate() защищенный Метод

protected afterCreate ( )

beforeCreate() защищенный Метод

protected beforeCreate ( )

forcePluginRegistration() защищенный Метод

protected forcePluginRegistration ( )

getFilePath() защищенный Метод

Returns a file path to save the model to.
protected getFilePath ( ) : string
Результат string Returns a path.

getIconOptions() публичный Метод

public getIconOptions ( )

getPluginCode() публичный Метод

public getPluginCode ( )

getPluginPath() защищенный Метод

protected getPluginPath ( )

getPluginPathObj() защищенный Метод

protected getPluginPathObj ( )

initBuilderSettings() защищенный Метод

protected initBuilderSettings ( )

initDefaults() публичный Метод

public initDefaults ( )

initPluginStructure() защищенный Метод

protected initPluginStructure ( )

initPropertiesFromPluginCodeObject() защищенный Метод

protected initPropertiesFromPluginCodeObject ( $pluginCodeObj )

listAllPluginCodes() публичный статический Метод

public static listAllPluginCodes ( )

modelToYamlArray() защищенный Метод

Converts the model's data to an array before it's saved to a YAML file.
protected modelToYamlArray ( ) : array
Результат array

rollbackPluginCreation() защищенный Метод

protected rollbackPluginCreation ( )

sanitizePHPString() защищенный Метод

protected sanitizePHPString ( $str )

yamlArrayToModel() защищенный Метод

Load the model's data from an array.
protected yamlArrayToModel ( array $array )
$array array An array to load the model fields from.

Описание свойств

$author публичное свойство

public $author

$author_namespace публичное свойство

public $author_namespace

$description публичное свойство

public $description

$fillable защищенное статическое свойство

protected static $fillable

$homepage публичное свойство

public $homepage

$icon публичное свойство

public $icon

$localizedDescription защищенное свойство

protected $localizedDescription

$localizedName защищенное свойство

protected $localizedName

$name публичное свойство

public $name

$namespace публичное свойство

public $namespace

$validationRules защищенное свойство

protected $validationRules

$yamlSection защищенное свойство

protected $yamlSection