TYPO3  7.6
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
SelectTreeElement Class Reference
Inheritance diagram for SelectTreeElement:
AbstractFormElement AbstractNode NodeInterface

Public Member Functions

 render ()
 
- Public Member Functions inherited from AbstractFormElement
 __construct (NodeFactory $nodeFactory, array $data)
 
- Public Member Functions inherited from AbstractNode
 __construct (NodeFactory $nodeFactory, array $data)
 
 render ()
 

Public Attributes

const DEFAULT_HEIGHT = 280
 
const DEFAULT_WIDTH = 280
 

Protected Member Functions

 generateJavascript ($formElementId)
 
 getBackendUserAuthentication ()
 
- Protected Member Functions inherited from AbstractFormElement
 isWizardsDisabled ()
 
 formMaxWidth ($size=48)
 
 getClipboardElements ($allowed, $mode)
 
 getLanguageService ()
 
- Protected Member Functions inherited from AbstractNode
 initializeResultArray ()
 
 mergeChildReturnIntoExistingResult (array $existing, array $childReturn)
 
 getValidationDataAsDataAttribute (array $config)
 
 getValidationDataAsJsonString (array $config)
 

Additional Inherited Members

- Protected Attributes inherited from AbstractFormElement
 $defaultInputWidth = 30
 
 $minimumInputWidth = 10
 
 $maxInputWidth = 50
 
 $clipboard = null
 
 $iconFactory
 

Detailed Description

Render data as a tree.

Typically rendered for config [type=select, renderType=selectTree

Definition at line 27 of file SelectTreeElement.php.

Member Function Documentation

generateJavascript (   $formElementId)
protected

Generates the Ext JS tree JavaScript code.

Parameters
string$formElementIdThe HTML element ID of the tree select field.
Returns
string

Definition at line 99 of file SelectTreeElement.php.

References $GLOBALS, SelectTreeElement\getBackendUserAuthentication(), GeneralUtility\inList(), GeneralUtility\quoteJSvalue(), and JsConfirmation\TYPE_CHANGE.

Referenced by SelectTreeElement\render().

getBackendUserAuthentication ( )
protected
Returns
BackendUserAuthentication

Definition at line 221 of file SelectTreeElement.php.

References $GLOBALS.

Referenced by SelectTreeElement\generateJavascript().

render ( )

Member Data Documentation

const DEFAULT_HEIGHT = 280

Default height of the tree in pixels.

Definition at line 35 of file SelectTreeElement.php.

const DEFAULT_WIDTH = 280

Default width of the tree in pixels.

Definition at line 42 of file SelectTreeElement.php.