public static function UCXF_FieldList::getFieldByName in Extra Fields Checkout Pane 7
Same name and namespace in other branches
- 6.2 class/UCXF_FieldList.class.php \UCXF_FieldList::getFieldByName()
Get a single field by name
@access public @static
Parameters
string $db_name:
Return value
9 calls to UCXF_FieldList::getFieldByName()
- UcAddressesUCXFHandler::init in includes/
uc_addresses.handlers.inc - Initialize.
- UCXFApiTestCase::testUCXF_FieldList in ./
uc_extra_fields_pane.test - Test if UCXF_FieldList behaves as excepted.
- UCXFApiTestCase::testUCXF_Value in ./
uc_extra_fields_pane.test - Test if UCXF_Value behaves as excepted.
- UCXFOrderTestCase::testOrder in ./
uc_extra_fields_pane.test - Test the order administration.
- UCXFTestCase::checkTokens in ./
uc_extra_fields_pane.test - Test if tokens are properly generated.
File
- class/
UCXF_FieldList.class.php, line 110 - 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 getFieldByName($db_name) {
self::loadOne(self::BY_NAME, $db_name);
return self::findByName($db_name);
}