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

Static Public Member Functions

static flatEnumNotationToEnumArray ($phpfunc, array &$theEnum, array &$theEnumlabel=array(), $locale= '')
 
static getFlatEnumNotation ($famid, $attrid)
 

Detailed Description

Definition at line 1557 of file Class.DocAttribute.php.

Member Function Documentation

static flatEnumNotationToEnumArray (   $phpfunc,
array &  $theEnum,
array &  $theEnumlabel = array(),
  $locale = '' 
)
static

convert enum flat notation to an array of item (key/label).

Parameters
string$phpfuncthe flat notation
array$theEnum[out] the enum array converted
array$theEnumlabel[out] the enum array converted - with complete labels in case of levels
string$localethe prefix key for locale values (if empty no locale are set)
Returns
array

Definition at line 1567 of file Class.DocAttribute.php.

static getFlatEnumNotation (   $famid,
  $attrid 
)
static

return flat notation from docenum database table

Parameters
int$famidfamily identifier
string$attridattribute identifier
Returns
string ftat enum

Definition at line 1697 of file Class.DocAttribute.php.


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