BuilderElementPropertiesEditableElementUtil Class Reference

Inheritance diagram for BuilderElementPropertiesEditableElementUtil:
BuilderElementBackendPropertiesEditableElementUtil BuilderElementFrontendPropertiesEditableElementUtil BuilderElementInlineStylePropertiesEditableElementUtil

Static Public Member Functions

static render ($elementClassName, CModel $model, $property, ZurmoActiveForm $form, array $params=array(), $wrapInTr=true, array $trOptions=array())
static resolveAttributeId (CModel $model, $property, $doNotWrapInSquareBrackets=false)
static resolveAttributeName ($property)
static resolveQualifiedAttributeName (CModel $model, $property, $doNotWrapInSquareBrackets=false)

Static Protected Member Functions

static resolveEditableTemplateByProperty ($element, $property)
static getIconByProperty ($property)
static wrapContentInTr (&$content, $trOptions)
static resolvePropertyWithSquareBrackets (&$property, $doNotWrapInSquareBrackets=false)

Detailed Description

Definition at line 37 of file BuilderElementPropertiesEditableElementUtil.php.


Member Function Documentation

static render ( elementClassName,
CModel $  model,
property,
ZurmoActiveForm form,
array $  params = array(),
wrapInTr = true,
array $  trOptions = array() 
) [static]

Render editable element for a property

Parameters:
$elementClassName 
CModel $model
$property 
ZurmoActiveForm $form
array $params
bool $wrapInTr
array $trOptions
Returns:
mixed

Definition at line 50 of file BuilderElementPropertiesEditableElementUtil.php.

static resolveAttributeId ( CModel $  model,
property,
doNotWrapInSquareBrackets = false 
) [static]

Resolve id for a given property

Parameters:
CModel $model
$property 
bool $doNotWrapInSquareBrackets
Returns:
string

Definition at line 105 of file BuilderElementPropertiesEditableElementUtil.php.

static resolveAttributeName ( property  )  [static]
static resolveQualifiedAttributeName ( CModel $  model,
property,
doNotWrapInSquareBrackets = false 
) [static]

Resolve qualified attribute name /**

Parameters:
CModel $model
$property 
bool $doNotWrapInSquareBrackets
Returns:
string

Definition at line 132 of file BuilderElementPropertiesEditableElementUtil.php.

static wrapContentInTr ( &$  content,
trOptions 
) [static, protected]
Parameters:
$content 
$trOptions 

Definition at line 144 of file BuilderElementPropertiesEditableElementUtil.php.

static resolvePropertyWithSquareBrackets ( &$  property,
doNotWrapInSquareBrackets = false 
) [static, protected]

Wrap property in square brackets if required.

Parameters:
$property 
bool $doNotWrapInSquareBrackets

Definition at line 154 of file BuilderElementPropertiesEditableElementUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun May 28 07:10:23 2017