Unique object identification
description of object related with data
Returns true iff object is new - has no id
Marks that object is open readonly. Set by detail when detail is open in readonly mode - seta after the evaluation of the readonly value i.e. after evaluation of the methods WARNING Methods cannot use it!!!
Returns object name Use for abstract objects
return tskRisk
Methods checks all attribues and if possible, converts them to the numbers Use method in case that you want to make arithmetics with fields from databse - they are mostly loaded as string event when they are numbers DO NOT CALL: Called automatically before methods are ecvaluated *
Optional
attrName: stringReturns description of this object if stored in the objDesc cache or translated objet name Does not evaluate object name because it has no access to the eval function!
Optional
nameOnly: boolean: boolean = false - when true, function returns only translated name of the object, not real object description when true, the second attribute is disregardfed
Optional
internal: boolean: boolean = true - when true (default) - function used the loaded data to get the object evaluation when false, function try to load the object descrption from the cache - it is probably there. the false value is disregarded and could be used only if object is technically defined but not loaded (e.g. when created by clip)
Set new value to the field and update detail view of the object if exists Method is not published internally in the application because it is inteded for use by the evaluation engine However when it will make sense it could be used internally as well but be carefull about the recursion!!!
udpates data object with new values if there is attribute _objData it is split to the independent fields
Optional
objAttrs: object$command->values = ["_objData" => json_encode($ret)]; - PHP function can send all data in one field
Warning: data will be mixed with other data, evaluated methods etc.
List of loaded attributes in the associative array