PHP 클래스 extension_subsectionmanager, subsectionmanager

상속: extends Extension
파일 보기 프로젝트 열기: symphonists/subsectionmanager 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$storage Storage for subsection entries

공개 메소드들

메소드 설명
__appendAssets ( object $context ) Append assets to the page head
__clearSubsectionCache ( ) Clear cache.
__construct ( array $args )
__prepareSubsection ( &$context ) Fetch all subsection elements included in a data source and join modes into a single call to appendFormattedElement().
getSubscribedDelegates ( )
install ( )
preloadSubsectionEntries ( Array $parents ) Preload subsection entries
storeSubsectionFields ( $context, integer $field_id, integer $subfield_id, string $mode ) Store subsection fields
uninstall ( )
update ( $previousVersion )

비공개 메소드들

메소드 설명
__fetchFields ( $section, $context, $subsection, $field, $mode = '' )
__parseSubsectionFields ( $fields, $context, DataSource $datasource = null ) Parse data source and extract subsection fields

메소드 상세

__appendAssets() 공개 메소드

Append assets to the page head
public __appendAssets ( object $context )
$context object

__clearSubsectionCache() 공개 메소드

Clear cache.
또한 보기: http://symphony-cms.com/learn/api/2.3/delegates/#DatasourcePreDelete

__construct() 공개 메소드

또한 보기: http://symphony-cms.com/learn/api/2.3/toolkit/extension/#__construct
public __construct ( array $args )
$args array

__prepareSubsection() 공개 메소드

Preprocess all subsection entry for performance reasons.
또한 보기: http://symphony-cms.com/learn/api/2.3/delegates/#DataSourceEntriesBuilt
public __prepareSubsection ( &$context )

getSubscribedDelegates() 공개 메소드

또한 보기: http://symphony-cms.com/learn/api/2.3/toolkit/extension/#getSubscribedDelegates

install() 공개 메소드

또한 보기: http://symphony-cms.com/learn/api/2.3/toolkit/extension/#install
public install ( )

preloadSubsectionEntries() 공개 정적인 메소드

Preload subsection entries
public static preloadSubsectionEntries ( Array $parents )
$parents Array Array of entry objects

storeSubsectionFields() 공개 정적인 메소드

Store subsection fields
public static storeSubsectionFields ( $context, integer $field_id, integer $subfield_id, string $mode )
$field_id integer The subsection field id
$subfield_id integer The subsection field subfield id
$mode string Subfield mode, e. g. 'formatted' or 'unformatted'

uninstall() 공개 메소드

또한 보기: http://symphony-cms.com/learn/api/2.3/toolkit/extension/#uninstall
public uninstall ( )

update() 공개 메소드

또한 보기: http://symphony-cms.com/learn/api/2.3/toolkit/extension/#update
public update ( $previousVersion )

프로퍼티 상세

$storage 공개적으로 정적으로 프로퍼티

Storage for subsection entries
public static $storage