Méthode |
Description |
|
addError ( $attribute, $message ) |
|
|
canCopy ( ) : boolean |
Can this element be copied (cloned/duplicated)
Override to return true if you want an element to be copyable. |
|
canViewPrevious ( ) : boolean |
Can we view the previous version of this element. |
|
getChildElementTypes ( ) : ElementType[] |
get the child element types for this BaseEventElementType. |
|
getChildren ( ) : array |
Return this elements children. |
|
getContainer_create_view ( ) |
|
|
getContainer_form_view ( ) |
|
|
getContainer_print_view ( ) |
|
|
getContainer_update_view ( ) |
|
|
getContainer_view_view ( ) |
|
|
getCreate_view ( ) |
|
|
getDefaultContainerView ( ) |
|
|
getDefaultView ( ) |
|
|
getElementType ( ) : ElementType |
Get the ElementType for this element. |
|
getElementTypeName ( ) : string |
Return the element type name. |
|
getForm_View ( ) |
|
|
getFrontEndErrors ( ) |
returns the front-end attributes with errors. |
|
getInfoText ( ) |
|
|
getPrint_view ( ) |
|
|
getSetting ( $key ) |
|
|
getUpdate_view ( ) |
|
|
getView_view ( ) |
|
|
hasMultiSelectValue ( $relation, $value_string ) |
Returns true if the specified multiselect relation has the value $value_string. |
|
isEditable ( ) |
|
|
isHiddenInUI ( ) : boolean |
Is this element to be hidden in the UI? (Prevents the elements from
being displayed on page load.). |
|
isRequired ( ) : boolean |
Is this a required element? |
|
isRequiredInUI ( ) : boolean |
Is this element required in the UI? (Prevents the user from being able
to remove the element.). |
|
loadFromExisting ( BaseEventTypeElement $element ) |
Load an existing element's data into this one
The base implementation simply uses copiedFields(), but it may be
overridden to allow for more complex relationships. |
|
render ( $action ) |
|
|
requiredIfSide ( $attribute, $params ) |
|
|
setChildren ( BaseEventTypeElement[] $children ) |
set the children for this element - allows external definition of what the children should
be (for workflows determined by controllers and the like. |
|
setDefaultOptions ( ) |
Stubbed method to set default options
Used by child objects to set defaults for forms on create. |
|
setUpdateOptions ( ) |
Stubbed method to set update options
Used by child objects to override null values for forms on update. |
|
softDelete ( ) |
stub method to allow elements to carry out actions related to being a part of a soft deleted event. |
|
updateMultiSelectData ( $model, $ids, $relation_field ) |
Updates multiselect items in the database, deleting items not passed in $ids. |
|