public static function UCXF_FieldList::deleteFieldByName in Extra Fields Checkout Pane 7
Same name and namespace in other branches
- 6.2 class/UCXF_FieldList.class.php \UCXF_FieldList::deleteFieldByName()
Deletes a field by db_name from the database
@access public @static
Parameters
string $db_name: The nickname of the address
Return value
boolean
Throws
1 call to UCXF_FieldList::deleteFieldByName()
- UCXFApiTestCase::testUCXF_FieldList in ./
uc_extra_fields_pane.test - Test if UCXF_FieldList behaves as excepted.
File
- class/
UCXF_FieldList.class.php, line 202 - 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 deleteFieldByName($db_name) {
return self::deleteOne(self::BY_NAME, $db_name);
}