public static function UCXF_FieldList::deleteField in Extra Fields Checkout Pane 7
Same name and namespace in other branches
- 6.2 class/UCXF_FieldList.class.php \UCXF_FieldList::deleteField()
Deletes an field from the database by giving the field object
@static
Parameters
UCXF_Field $field:
Return value
boolean
Throws
1 call to UCXF_FieldList::deleteField()
- UCXF_Field::delete in class/
UCXF_Field.class.php - Delete the field from the database. @access public
File
- class/
UCXF_FieldList.class.php, line 174 - 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 deleteField(UCXF_Field $field) {
return self::deleteOne(self::BY_ID, $field->field_id);
}