Class DefaultController
This interface describes a controller.
- DcGeneral\Controller\DefaultController implements DcGeneral\Controller\ControllerInterface
Package: DcGeneral\Controller
Located at Controller/DefaultController.php
public
|
|
public
DataContainerInterface;
|
|
public
|
|
public
|
|
public
|
|
public
array
|
#
assembleAllChildrenFrom(
Scan for children of a given model. |
public
|
#
updateModelFromPropertyBag(
Update the current model from a post request. Additionally, trigger meta palettes, if installed. |
protected
|
#
addParentFilter( mixed $idParent,
Add the filter for the item with the given id from the parent data provider to the given config. |
public
array
|
#
getSupportedLanguages( mixed $mixID )
Return all supported languages from the default data data provider. |
public
|
|
public
string
|
|
protected
array
|
#
fetchMode5ChildrenOf(
Recurse through all children in mode 5 and return their Ids. |
public
|
|
public
|
#
generateAjaxPalette( type $strSelector )
Loads the current model from the data provider and overrides the selector |
protected
|
#
getNewPosition(
Calculate the new position of an element |
protected
|
|
protected
|
#
insertCopyModel( type $intIdSource, type $intIdTarget, type $intMode, type $blnChilds, type $strFieldId, type $strFieldPid, type $strOperation )
|
protected
|
|
protected
array
|
#
calcNeededFields(
Get a list with all needed fields for the models. |
public
boolean
|
#
isRootModel(
Check if the given model is a root model for the current data definition. |
public
|
#
setRootModel(
Apply the root condition of the current data definition to the given model. |
public
|
#
setParent(
Set a model as the parent of another model. |
public
|
#
setSameParent(
Sets all parent condition fields in the destination to the values from the source model. |
public
|
|
public
|
protected
|
$objDC | null |
#
Current DC General. |
protected
|
$environment |
|
#
The attached environment. |
protected
array
|
$arrInsertIDs | array() |
#
A list with all current IDs. |
protected
string
|
$notImplMsg | "<div style='text-align:center; font-weight:bold; padding:40px;'>The function/view "%s" is not implemented.<br />Please <a target='_blank' style='text-decoration:underline' href='http://now.metamodel.me/en/sponsors/become-one#payment'>support us</a> to add this important feature!</div>" |
#
Error message. |
protected
string
|
$arrColSort |
|
#
Field for the function sortCollection. |