Метод |
Описание |
|
getAncestors ( integer | null $dist = null ) : craft\ElementCriteriaModel |
Returns the block's ancestors. |
|
getChildren ( null $field = null ) : craft\ElementCriteriaModel |
Returns the block's children. |
|
getDescendants ( integer | null $dist = null ) : craft\ElementCriteriaModel |
Returns the block's descendants. |
|
getField ( ) : craft\FieldModel | null |
Returns the field the block is associated with. |
|
getFieldLayout ( ) : craft\FieldLayoutModel | null |
Returns the field layout the block is associated with. |
|
getLocales ( ) : array |
Returns the locale ID's the block is available in. |
|
getNextSibling ( ) : Neo_BlockModel | null |
Returns the block's next sibling. |
|
getOwner ( ) : craft\BaseElementModel | null |
Returns the element that this block belongs as a field value to. |
|
getParent ( ) : Neo_BlockModel | null |
Returns the block's parent. |
|
getPrevSibling ( ) : Neo_BlockModel | null |
Returns the block's previous sibling. |
|
getSiblings ( ) : craft\ElementCriteriaModel |
Returns the block's siblings. |
|
getType ( ) : Neo_BlockTypeModel | null |
Returns the block's type. |
|
setAllElements ( array $elements ) |
Allows memoizing all blocks (including this one) for a particular field. |
|
setOwner ( craft\BaseElementModel $owner ) |
Allow the owner to be manually memoized, so that getOwner doesn't have to perform a DB query to find the owner. |
|