PHP 클래스 RainLab\Builder\Classes\PluginBaseModel

저자: Alexey Bobkov, Samuel Georges
상속: extends RainLab\Builder\Classes\PluginYamlModel
파일 보기 프로젝트 열기: rainlab/builder-plugin 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$author
$author_namespace
$description
$homepage
$icon
$name
$namespace

보호된 프로퍼티들

프로퍼티 타입 설명
$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