|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
Object
|
+--PBEAction
|
+--PBECondition
|
+--PBEAttributeCondition
|
+--PBEEmptyCondition
PBEEmptyCondition returns $true when the value of an attribute is $null or an empty string, otherwise it returns $false.PBEEmptyCondition can be used in attribute events.
empty
empty
PBEEmptyCondition does not support any parameters.
PBE:attributeEvent( "product", "name", "before:new,save:if empty set('Default Name!')");This event sets the attribute "name" of object "product" to "Default Name!" before activation of the "new" and "save" methods.
Fields inherited from class PBEAction iParameters, iType, name, procName
Constructor Summary PBEEmptyCondition()
Method Summary varcharparameters()
Methods inherited from class PBECondition checkEvent, tracePerform
Methods inherited from class PBEAction actionArguments, actionCall, actionParameters, attributeReference, callString, getObject, methodReference, nestedInput, objectReference, parameter, perform, performParameterCount, printPerform
Constructor Detail PBEEmptyCondition
public PBEEmptyCondition()
Method Detail parameters
public varchar parameters()
- Overrides:
- parameters in class PBEAction
Class Use Tree Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD