PHP 클래스 fieldSubsectionmanager, subsectionmanager

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

공개 프로퍼티들

프로퍼티 타입 설명
$sortOrder

공개 메소드들

메소드 설명
__construct ( )
allowDatasourceOutputGrouping ( )
allowDatasourceParamOutput ( )
appendFormattedElement ( &$wrapper, $data, $encode = false, $mode = null ) Subsection entries are pre-processed in the extension driver and stored in extension_subsectionmanager::$storage with other helpful data. If you are building custom data sources, please use extension_subsectionmanager::storeSubsectionFields() to store subsection fields and extension_subsectionmanager::preloadSubsectionEntries() to preload subsection entries.
buildDSRetrievalSQL ( $data, &$joins, &$where, $andOperation = false )
buildDSRetrivalSQL ( $data, &$joins, &$where, $andOperation = false ) Keep compatibility with Symphony pre 2.2.1 for a little longer.
canFilter ( )
checkFields ( &$errors, $checkForDuplicates = true )
checkPostFieldData ( $data, &$message, $entry_id = null )
commit ( )
createSectionAssociation ( $parent_section_id = null, $child_section_id = null, $child_field_id = null, $parent_field_id = null, $show_association = false )
createTable ( )
displayDatasourceFilterPanel ( &$wrapper, $data = null, $errors = null, $fieldnamePrefix = null, $fieldnamePostfix = null )
displayPublishPanel ( &$wrapper, $data = null, $flagWithError = null, $fieldnamePrefix = null, $fieldnamePostfix = null, $entry_id = null ) If you need to fetch the pure data this field returns, please use getDefaultPublishContent()
displaySettingsPanel ( &$wrapper, $errors = null )
fetchAssociatedEntryCount ( $value )
fetchAssociatedEntrySearchValue ( $data, $field_id = null, $parent_entry_id = null )
fetchIncludableElements ( $break = false )
getDefaultPublishContent ( &$wrapper, $data = null ) Get default publish content
getExampleFormMarkup ( )
getParameterPoolValue ( $data )
groupRecords ( $records ) *------------------------------------------------------------------------- Grouping: -------------------------------------------------------------------------
isSortable ( )
prepareImportValue ( mixed $value, integer $entry_id = null ) : array Used by the XML Importer when importing
prepareTableValue ( $data, XMLElement $link = null )
processRawFieldData ( $data, &$status, &$message = null, $simulate = false, $entry_id = null )
requiresSQLGrouping ( ) Test whether this field requires grouping. If this function returns true SQL statements generated in the EntryManager will include the DISTINCT keyword to only return a single row for an entry regardless of how many 'matches' it might have. This default implementation returns false.

비공개 메소드들

메소드 설명
__groupContentGenerator ( $name, $title, $sections, $errors ) Create caption and droptext settings

메소드 상세

__construct() 공개 메소드

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

allowDatasourceOutputGrouping() 공개 메소드

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

allowDatasourceParamOutput() 공개 메소드

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

appendFormattedElement() 공개 메소드

Subsection entries are pre-processed in the extension driver and stored in extension_subsectionmanager::$storage with other helpful data. If you are building custom data sources, please use extension_subsectionmanager::storeSubsectionFields() to store subsection fields and extension_subsectionmanager::preloadSubsectionEntries() to preload subsection entries.
또한 보기: http://symphony-cms.com/learn/api/2.3/toolkit/field/#appendFormattedElement
public appendFormattedElement ( &$wrapper, $data, $encode = false, $mode = null )

buildDSRetrievalSQL() 공개 메소드

또한 보기: http://symphony-cms.com/learn/api/2.3/toolkit/field/#buildDSRetrievalSQL
public buildDSRetrievalSQL ( $data, &$joins, &$where, $andOperation = false )

buildDSRetrivalSQL() 공개 메소드

Keep compatibility with Symphony pre 2.2.1 for a little longer.
또한 보기: http://symphony-cms.com/learn/api/2.2.1/toolkit/field/#buildDSRetrivalSQL
public buildDSRetrivalSQL ( $data, &$joins, &$where, $andOperation = false )

canFilter() 공개 메소드

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

checkFields() 공개 메소드

또한 보기: http://symphony-cms.com/learn/api/2.3/toolkit/field/#checkFields
public checkFields ( &$errors, $checkForDuplicates = true )

checkPostFieldData() 공개 메소드

또한 보기: http://symphony-cms.com/learn/api/2.3/toolkit/field/#checkPostFieldData
public checkPostFieldData ( $data, &$message, $entry_id = null )

commit() 공개 메소드

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

createSectionAssociation() 공개 메소드

또한 보기: http://symphony-cms.com/learn/api/2.3/toolkit/field/#createSectionAssociation
public createSectionAssociation ( $parent_section_id = null, $child_section_id = null, $child_field_id = null, $parent_field_id = null, $show_association = false )

createTable() 공개 메소드

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

displayDatasourceFilterPanel() 공개 메소드

또한 보기: http://symphony-cms.com/learn/api/2.3/toolkit/field/#displayDatasourceFilterPanel
public displayDatasourceFilterPanel ( &$wrapper, $data = null, $errors = null, $fieldnamePrefix = null, $fieldnamePostfix = null )

displayPublishPanel() 공개 메소드

If you need to fetch the pure data this field returns, please use getDefaultPublishContent()
또한 보기: http://symphony-cms.com/learn/api/2.3/toolkit/field/#displayPublishPanel
public displayPublishPanel ( &$wrapper, $data = null, $flagWithError = null, $fieldnamePrefix = null, $fieldnamePostfix = null, $entry_id = null )

displaySettingsPanel() 공개 메소드

또한 보기: http://symphony-cms.com/learn/api/2.3/toolkit/field/#displaySettingsPanel
public displaySettingsPanel ( &$wrapper, $errors = null )

fetchAssociatedEntryCount() 공개 메소드

또한 보기: http://symphony-cms.com/learn/api/2.3/toolkit/field/#fetchAssociatedEntryCount
public fetchAssociatedEntryCount ( $value )

fetchAssociatedEntrySearchValue() 공개 메소드

또한 보기: http://symphony-cms.com/learn/api/2.3/toolkit/field/#fetchAssociatedEntrySearchValue `$data` would contain the related entries, but is usually `null` when called from the frontend (when the field is not included in the DS, and only then "associated entry count" makes sense)
public fetchAssociatedEntrySearchValue ( $data, $field_id = null, $parent_entry_id = null )

fetchIncludableElements() 공개 메소드

또한 보기: http://symphony-cms.com/learn/api/2.3/toolkit/field/#fetchIncludableElements
public fetchIncludableElements ( $break = false )

getDefaultPublishContent() 공개 메소드

Get default publish content
public getDefaultPublishContent ( &$wrapper, $data = null )

getExampleFormMarkup() 공개 메소드

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

getParameterPoolValue() 공개 메소드

또한 보기: http://symphony-cms.com/learn/api/2.3/toolkit/field/#getParameterPoolValue
public getParameterPoolValue ( $data )

groupRecords() 공개 메소드

*------------------------------------------------------------------------- Grouping: -------------------------------------------------------------------------
public groupRecords ( $records )

isSortable() 공개 메소드

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

prepareImportValue() 공개 메소드

Used by the XML Importer when importing
public prepareImportValue ( mixed $value, integer $entry_id = null ) : array
$value mixed
$entry_id integer
리턴 array

prepareTableValue() 공개 메소드

또한 보기: http://symphony-cms.com/learn/api/2.3/toolkit/field/#prepareTableValue
public prepareTableValue ( $data, XMLElement $link = null )
$link XMLElement

processRawFieldData() 공개 메소드

또한 보기: http://symphony-cms.com/learn/api/2.3/toolkit/field/#processRawFieldData
public processRawFieldData ( $data, &$status, &$message = null, $simulate = false, $entry_id = null )

requiresSQLGrouping() 공개 메소드

Test whether this field requires grouping. If this function returns true SQL statements generated in the EntryManager will include the DISTINCT keyword to only return a single row for an entry regardless of how many 'matches' it might have. This default implementation returns false.
public requiresSQLGrouping ( )

프로퍼티 상세

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

static public $sortOrder