/** * Returns an array containing, for each field, the arary key used for that * field in self::$_fields. * * @access public * @return array */ static function &fieldKeys() { if (!self::$_fieldKeys) { self::$_fieldKeys = array('id' => 'id', 'uf_group_id' => 'uf_group_id', 'field_name' => 'field_name', 'is_active' => 'is_active', 'is_view' => 'is_view', 'is_required' => 'is_required', 'weight' => 'weight', 'help_post' => 'help_post', 'help_pre' => 'help_pre', 'visibility' => 'visibility', 'in_selector' => 'in_selector', 'is_searchable' => 'is_searchable', 'location_type_id' => 'location_type_id', 'phone_type_id' => 'phone_type_id', 'label' => 'label', 'field_type' => 'field_type', 'is_reserved' => 'is_reserved', 'is_multi_summary' => 'is_multi_summary'); } return self::$_fieldKeys; }