Свойство | Type | Description | |
---|---|---|---|
$admin_rights | string | Set the admin rights to Quantum Fields Admin | |
$callback_data | array | feed $userData or $data here to append display_fields() values use the setter function setCallbackData() | |
$cat_list | maybe can mix with enabled_fields. | ||
$category_db | Set the Database to install field structure records Refer to v7.x User Fields Structrue | ||
$debug | debug mode | ||
$dom_debug | |||
$field_db | |||
$fields | callback on the structure - use getters | ||
$method | string | Set as display to show array values output Two methods - input or display | |
$module_debug | |||
$plugin_folder | Set system API folder paths Refer to v7.x User Fields API | ||
$plugin_locale_folder | |||
$system_title | Set the Quantum System Fields Page Title |
Méthode | Description | |
---|---|---|
calculate_byte ( $download_max_b ) | ||
displayQuantumAdmin ( ) | * Outputs Quantum Admin Button Sets | |
display_all_fields ( ) | * Hardcoded Column Attributes - Can be added to forms but is it too technical for non coders? | |
display_fields ( array $data, $callback_data, string $method = 'input', array $options = [] ) : array | boolean | string | Display fields for each fieldDB record entry | |
fusion_getlocale ( $data, $input_name ) | ||
getCatList ( ) : array | ||
getFields ( null $key = NULL ) : array | Get results from running load_structure | |
get_dynamics_type ( ) | ||
install_quantum ( ) : array | Quantum Installer for 3rd party applications | |
is_serialized ( $value, &$result = NULL ) | ||
load_field_cats ( ) | Returns $this->page_list and $this->cat_list | |
load_fields ( ) | ||
log_user_action ( $db, $primary_key ) | ||
parse_label ( $value ) : string | Parse the correct label language. Requires serialized $value. | |
quantum_admin_buttons ( ) | * The Current Stable PHP-Fusion Dynamics Module | |
quantum_category_form ( ) | ||
quantum_insert ( array $data = [] ) | ||
quantum_multilocale_fields ( $input_name, $title, $input_value, array $options = [] ) : string | Multiple locale fields input | |
return_fields_input ( $db, $primary_key, $callback_data = FALSE ) : array | Return sanitized post values of input fields | |
serialize_fields ( $input_name ) | Short serialization function | |
setAdminRights ( string $admin_rights ) | The internal admin rights by a user to use this system. | |
setCallbackData ( array $callback_data ) | Additional data-id referencing. | |
setCategoryDb ( string $category_db ) | Database Handler for Category Structuring If it does not exist, quantum will automatically build a template onload. | |
setFieldDb ( string $field_db ) | Database Handler for Field Structuring If it does not exist, quantum will automatically build a template onload. | |
setLocale ( $locale ) | Set Quantum system locale | |
setMethod ( string $method ) | input renders field. | |
setPluginFolder ( string $plugin_folder_path ) | If modules are used, specify fields module path API follows Version 7.00's User Fields module. | |
setPluginLocaleFolder ( $locale_folder_path ) | If modules are used, specify fields module locale libs folder path API follows Version 7.00's User Fields Module. | |
setSystemTitle ( string $system_title ) | Give your Quantum based system a name. Will add to breadcrumbs if available. |
Méthode | Description | |
---|---|---|
_delete_category ( ) | ||
_delete_fields ( ) | ||
_move_fields ( ) | ### SQL Actions ### | |
create_fields ( $data, $type = 'dynamics' ) | Field Creation | |
display_module_form ( ) | Modules Form | |
dynamics_fieldinfo ( $type, $default_value ) | ||
get_available_modules ( ) | ### Getters #### | |
quantum_dynamics_form ( ) | The master form for Adding or Editing Dynamic Fields | |
validate_field ( $field_id ) | * Execution of delete fields | |
validate_fieldCat ( $field_cat_id ) | * Move Fields Order - Up and Down |
public displayQuantumAdmin ( ) |
public display_all_fields ( ) |
public display_fields ( array $data, $callback_data, string $method = 'input', array $options = [] ) : array | boolean | string | ||
$data | array | The array of the user field. |
$callback_data | ||
$method | string | input or display. In case of any other value the method return FALSE. See the description of return for more details. |
$options | array |
|
Résultat | array | boolean | string |
|
public install_quantum ( ) : array | ||
Résultat | array |
public load_field_cats ( ) |
public static parse_label ( $value ) : string | ||
$value | - Serialized | |
Résultat | string | NOTE: If your field does not parse properly, check your column length. Set it to TEXT NOT NULL. |
public quantum_admin_buttons ( ) |
public quantum_multilocale_fields ( $input_name, $title, $input_value, array $options = [] ) : string | ||
$input_name | ||
$title | ||
$input_value | ||
$options | array | |
Résultat | string |
public return_fields_input ( $db, $primary_key, $callback_data = FALSE ) : array | ||
$db | ||
$primary_key | ||
Résultat | array |
public static serialize_fields ( $input_name ) |
public setAdminRights ( string $admin_rights ) | ||
$admin_rights | string |
public setCallbackData ( array $callback_data ) | ||
$callback_data | array |
public setCategoryDb ( string $category_db ) | ||
$category_db | string |
public setFieldDb ( string $field_db ) | ||
$field_db | string |
public setPluginFolder ( string $plugin_folder_path ) | ||
$plugin_folder_path | string |
public setPluginLocaleFolder ( $locale_folder_path ) | ||
$locale_folder_path |
public setSystemTitle ( string $system_title ) | ||
$system_title | string |
protected string $admin_rights | ||
Résultat | string |
protected array $callback_data | ||
Résultat | array |
protected $category_db |
protected string $method | ||
Résultat | string |
protected $plugin_folder |