[ Index ] |
|
Code source de LifeType 1.2.4 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 96 lignes (3 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 2 fois |
Nécessite: | 0 fichiers |
CustomFieldValueFactory:: (3 méthodes):
_findConstructorClass()
getCustomFieldValueObject()
getCustomFieldValueByFieldId()
Classe: CustomFieldValueFactory - X-Ref
Generates the right CustomFieldValue (or subclass of it)_findConstructorClass( $fieldType ) X-Ref |
returns the right class depending on the field type param: fieldType The field type |
getCustomFieldValueObject( $row ) X-Ref |
creates and returns the right CustomFieldValuexxx object, or a CustomFieldValue object if there is no specific object defined for that type param: row return: A CustomFieldValue object, or a subclass |
getCustomFieldValueByFieldId( $fieldId, $row ) X-Ref |
returns the right CustomFieldValuexxx object but this method can be used in those occasions when we know the fieldId but we do not know its type so what we need to do is first load the field definition and then work on creating the right object type param: fieldId param: row An array |
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |