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) |
Definition at line 37 of file BuilderElementPropertiesEditableElementUtil.php.
static render | ( | $ | elementClassName, | |
CModel $ | model, | |||
$ | property, | |||
ZurmoActiveForm $ | form, | |||
array $ | params = array() , |
|||
$ | wrapInTr = true , |
|||
array $ | trOptions = array() | |||
) | [static] |
Render editable element for a property
$elementClassName | ||
CModel | $model | |
$property | ||
ZurmoActiveForm | $form | |
array | $params | |
bool | $wrapInTr | |
array | $trOptions |
Definition at line 50 of file BuilderElementPropertiesEditableElementUtil.php.
static resolveAttributeId | ( | CModel $ | model, | |
$ | property, | |||
$ | doNotWrapInSquareBrackets = false | |||
) | [static] |
Resolve id for a given property
CModel | $model | |
$property | ||
bool | $doNotWrapInSquareBrackets |
Definition at line 105 of file BuilderElementPropertiesEditableElementUtil.php.
static resolveAttributeName | ( | $ | property | ) | [static] |
Resolve Attribute Name
$property |
Reimplemented in BuilderElementBackendPropertiesEditableElementUtil, BuilderElementFrontendPropertiesEditableElementUtil, and BuilderElementInlineStylePropertiesEditableElementUtil.
Definition at line 118 of file BuilderElementPropertiesEditableElementUtil.php.
static resolveQualifiedAttributeName | ( | CModel $ | model, | |
$ | property, | |||
$ | doNotWrapInSquareBrackets = false | |||
) | [static] |
Resolve qualified attribute name /**
CModel | $model | |
$property | ||
bool | $doNotWrapInSquareBrackets |
Definition at line 132 of file BuilderElementPropertiesEditableElementUtil.php.
static wrapContentInTr | ( | &$ | content, | |
$ | trOptions | |||
) | [static, protected] |
$content | ||
$trOptions |
Definition at line 144 of file BuilderElementPropertiesEditableElementUtil.php.
static resolvePropertyWithSquareBrackets | ( | &$ | property, | |
$ | doNotWrapInSquareBrackets = false | |||
) | [static, protected] |
Wrap property in square brackets if required.
$property | ||
bool | $doNotWrapInSquareBrackets |
Definition at line 154 of file BuilderElementPropertiesEditableElementUtil.php.