PHP 클래스 Devise\Models\Scaffolding\TemplateScaffolding

파일 보기 프로젝트 열기: devisephp/cms

공개 메소드들

메소드 설명
__construct ( TemplatesManager $TemplatesManager, Framework $Framework )
convertTemplatesAndSave ( $files, $constants, $fields ) : boolean
insertTemplateConfiguration ( $templates ) : boolean

보호된 메소드들

메소드 설명
convertCreateAndUpdateFields ( $type, $template, $fields ) : mixed
convertFields ( $template, $fields ) : mixed
convertIndexes ( $template, $fields ) : mixed

비공개 메소드들

메소드 설명
buildCheckboxField ( $field, $options, $type ) : string
buildFileField ( $field, $options ) : string
buildGenericField ( $field, $default, $options, $type ) : string
buildImageField ( $field, $default, $options, $type )
buildPasswordField ( $field, $options ) : string
buildRadioField ( $field, $options, $type ) : string
buildSelectField ( $field, $default, $options, $choices ) : string
buildSelectRangeField ( $field, $default, $options ) : string
getField ( $field ) : string
getFormTypeFromDataType ( $datatype ) : string
getLabel ( $field ) : string
getLabelText ( $field ) : string

메소드 상세

__construct() 공개 메소드

public __construct ( TemplatesManager $TemplatesManager, Framework $Framework )
$TemplatesManager Devise\Templates\TemplatesManager
$Framework Devise\Support\Framework

convertCreateAndUpdateFields() 보호된 메소드

protected convertCreateAndUpdateFields ( $type, $template, $fields ) : mixed
$type
$template
$fields
리턴 mixed

convertFields() 보호된 메소드

protected convertFields ( $template, $fields ) : mixed
$template
$fields
리턴 mixed

convertIndexes() 보호된 메소드

protected convertIndexes ( $template, $fields ) : mixed
$template
$fields
리턴 mixed

convertTemplatesAndSave() 공개 메소드

public convertTemplatesAndSave ( $files, $constants, $fields ) : boolean
$files
$constants
$fields
리턴 boolean

insertTemplateConfiguration() 공개 메소드

public insertTemplateConfiguration ( $templates ) : boolean
$templates
리턴 boolean