public static function UCXF_FieldList::getAllFields in Extra Fields Checkout Pane 7
Same name and namespace in other branches
- 6.2 class/UCXF_FieldList.class.php \UCXF_FieldList::getAllFields()
Get all available fields @access public @static
Return value
array
7 calls to UCXF_FieldList::getAllFields()
- UCXFApiTestCase::testUCXF_FieldList in ./
uc_extra_fields_pane.test - Test if UCXF_FieldList behaves as excepted.
- UCXFCheckoutTestCase::testSanitizing in ./
uc_extra_fields_pane.test - Test if field values are properly sanitized.
- UCXFTestCase::checkout in ./
uc_extra_fields_pane.test - Overrides UbercartTestHelper::checkout().
- uc_extra_fields_pane_field_features_export_render in ./
uc_extra_fields_pane.features.inc - Implements hook_features_export_render().
- uc_extra_fields_pane_field_features_rebuild in ./
uc_extra_fields_pane.features.inc - Implements hook_features_rebuild().
File
- class/
UCXF_FieldList.class.php, line 143 - Contains the UCXF_FieldList class.
Class
- UCXF_FieldList
- This class is used to keep track of all loaded fields in one request. It's also used as a central place to request fields.
Code
public static function getAllFields() {
self::loadAll();
$fields = self::$fields;
uasort($fields, array(
'UCXF_FieldList',
'sort',
));
return $fields;
}