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