private static function UCXF_FieldList::findByPane in Extra Fields Checkout Pane 7
Same name and namespace in other branches
- 6.2 class/UCXF_FieldList.class.php \UCXF_FieldList::findByPane()
Search for fields by giving the pane_type
@access private @static
Parameters
string $pane_type: The pane_type of the field
Return value
array
1 call to UCXF_FieldList::findByPane()
- UCXF_FieldList::getFieldsFromPane in class/
UCXF_FieldList.class.php - Get all fields from a particular pane type
File
- class/
UCXF_FieldList.class.php, line 429 - 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
private static function findByPane($pane_type) {
$fields = array();
if ($pane_type) {
foreach (self::$fields as $field) {
if ($field
->in_pane($pane_type)) {
$fields[$field->db_name] = $field;
}
}
}
return $fields;
}