Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
AttributeValue Class Reference
+ Collaboration diagram for AttributeValue:

Data Structures

class  Exception
 

Static Public Member Functions

static getTypedValue (\Doc &$doc,\NormalAttribute &$oAttr)
 
static setTypedValue (\Doc &$doc,\NormalAttribute &$oAttr, $value)
 

Detailed Description

Definition at line 9 of file Class.AttributeValue.php.

Member Function Documentation

static getTypedValue ( \Doc $doc,
\NormalAttribute $oAttr 
)
static

return typed value for an document's attribute

Parameters
\Doc$doc
\NormalAttribute$oAttr
Exceptions
AttributeValue\Exception
Returns
array|float|int|null|string

Definition at line 18 of file Class.AttributeValue.php.

+ Here is the call graph for this function:

static setTypedValue ( \Doc $doc,
\NormalAttribute $oAttr,
  $value 
)
static

Set a new value to an attribute document

Parameters
\Doc$doc
\NormalAttribute$oAttr
mixed$value
See Also
Doc::setAttributeValue()
Exceptions
AttributeValue\Exceptionin case of incompatible value

Definition at line 229 of file Class.AttributeValue.php.

+ Here is the call graph for this function:


The documentation for this class was generated from the following file:
← centre documentaire © anakeen