Documentation

Xcrud
in package

Table of Contents

$column_name  : mixed
$fieldComments  : mixed
$instance_name  : mixed
$nameByColumn  : mixed
$table_ro  : mixed
$action  : mixed
$after  : mixed
$after_insert  : mixed
$after_remove  : mixed
$after_resize  : mixed
$after_update  : mixed
$after_upload  : mixed
$ajax_request  : mixed
$alert_create  : mixed
$alert_edit  : mixed
$before  : mixed
$before_create  : mixed
$before_edit  : mixed
$before_insert  : mixed
$before_list  : mixed
$before_remove  : mixed
$before_update  : mixed
$before_upload  : mixed
$before_view  : mixed
$benchmark  : mixed
$binary  : mixed
$bit_field  : mixed
$buttons  : mixed
$buttons_position  : mixed
$classes  : mixed
$column  : mixed
$column_callback  : mixed
$column_class  : mixed
$column_cut  : mixed
$column_cut_list  : mixed
$column_pattern  : mixed
$column_tooltip  : mixed
$column_width  : mixed
$columns  : mixed
$columns_names  : mixed
$condition  : mixed
$condition_backup  : mixed
$connection  : mixed
$css_loaded  : mixed
$custom_vars  : mixed
$default_tab  : mixed
$defaults  : mixed
$direct_select_tags  : mixed
$disabled  : mixed
$emails_label  : mixed
$exception  : mixed
$exception_fields  : mixed
$exception_text  : mixed
$field_attr  : mixed
$field_callback  : mixed
$field_marker  : mixed
$field_params  : mixed
$field_tabs  : mixed
$field_tooltip  : mixed
$field_type  : mixed
$fields  : mixed
$fields_create  : mixed
$fields_edit  : mixed
$fields_list  : mixed
$fields_names  : mixed
$fields_output  : mixed
$fields_view  : mixed
$fk_relation  : mixed
$grid_condition  : mixed
$grid_restrictions  : mixed
$hidden_columns  : mixed
$hidden_fields  : mixed
$hidden_fields_output  : mixed
$hide_button  : mixed
$highlight  : mixed
$highlight_row  : mixed
$inner_table_instance  : mixed
$inner_value  : mixed
$inner_where  : mixed
$instance  : mixed
$instance_count  : mixed
$is_create  : mixed
$is_csv  : mixed
$is_duplicate  : mixed
$is_edit  : mixed
$is_get  : mixed
$is_inner  : mixed
$is_limitlist  : mixed
$is_list  : mixed
$is_numbers  : mixed
$is_pagination  : mixed
$is_print  : mixed
$is_remove  : mixed
$is_rtl  : mixed
$is_search  : mixed
$is_sortable  : mixed
$is_title  : mixed
$is_view  : mixed
$join  : mixed
$js_loaded  : mixed
$key  : mixed
$labels  : mixed
$lang_arr  : mixed
$language  : mixed
$limit  : mixed
$limit_list  : mixed
$links_label  : mixed
$load_view  : mixed
$locked_fields  : mixed
$mass_alert_create  : mixed
$mass_alert_edit  : mixed
$message  : mixed
$modal  : mixed
$nested_rendered  : mixed
$no_editor  : mixed
$no_quotes  : mixed
$no_select  : mixed
$order_by  : mixed
$order_column  : mixed
$order_direct  : mixed
$pass_var  : mixed
$phrase  : mixed
$point_field  : mixed
$prefix  : mixed
$primary_ai  : mixed
$primary_key  : mixed
$primary_val  : mixed
$query  : mixed
$range  : mixed
$readonly  : mixed
$relation  : mixed
$remove_confirm  : mixed
$replace_insert  : mixed
$replace_remove  : mixed
$replace_update  : mixed
$result_list  : mixed
$result_row  : mixed
$result_total  : mixed
$reverse_fields  : mixed
$safe_output  : mixed
$search  : mixed
$search_columns  : mixed
$search_default  : mixed
$search_pattern  : mixed
$send_external_create  : mixed
$send_external_edit  : mixed
$sess_id  : mixed
$set_lang  : mixed
$show_primary_ai_column  : mixed
$show_primary_ai_field  : mixed
$start  : mixed
$start_minimized  : mixed
$strip_tags  : mixed
$subselect  : mixed
$subselect_before  : mixed
$subselect_query  : mixed
$sum  : mixed
$tabdesc  : mixed
$table  : mixed
$table_info  : mixed
$table_name  : mixed
$table_tooltip  : mixed
$task  : mixed
$theme  : mixed
$total_query  : mixed
$unique  : mixed
$upload_config  : mixed
$upload_folder  : mixed
$upload_folder_def  : mixed
$upload_to_remove  : mixed
$upload_to_save  : mixed
$url  : mixed
$validation_pattern  : mixed
$validation_required  : mixed
$where  : mixed
$where_pri  : mixed
$demo_mode  : mixed
__toString()  : mixed
_csv()  : mixed
_export_vars()  : mixed
_parse_field_names()  : mixed
after_insert()  : mixed
after_remove()  : mixed
after_update()  : mixed
after_upload()  : mixed
alert()  : mixed
alert_create()  : mixed
alert_edit()  : mixed
before_create()  : mixed
before_edit()  : mixed
before_insert()  : mixed
before_list()  : mixed
before_remove()  : mixed
before_update()  : mixed
before_upload()  : mixed
before_view()  : mixed
benchmark()  : mixed
button()  : mixed
buttons_position()  : mixed
call_update()  : mixed
change_type()  : mixed
check()  : mixed
check_url()  : mixed
column_callback()  : mixed
column_class()  : mixed
column_cut()  : mixed
column_name()  : mixed
column_pattern()  : mixed
column_tooltip()  : mixed
column_width()  : mixed
columns()  : mixed
condition()  : mixed
connection()  : mixed
create_action()  : mixed
decrypt()  : mixed
default_tab()  : mixed
disabled()  : mixed
disabled_on_create()  : mixed
disabled_on_edit()  : mixed
duplicate_button()  : mixed
emails_label()  : mixed
encrypt()  : mixed
export_session()  : mixed
field_callback()  : mixed
field_tooltip()  : mixed
fieldname_decode()  : mixed
fieldname_encode()  : mixed
fields()  : mixed
fk_relation()  : mixed
get()  : mixed
get_instance()  : mixed
get_requested_instance()  : mixed
get_var()  : mixed
getSessId()  : null
hide_button()  : mixed
highlight()  : mixed
highlight_row()  : mixed
import_session()  : mixed
import_vars()  : mixed
inner_where()  : mixed
defines nested main condition, must be public. Only for internal usage.
instance_name()  : mixed
join()  : mixed
label()  : mixed
language()  : mixed
limit()  : mixed
limit_list()  : mixed
links_label()  : mixed
load_core_class()  : mixed
load_css()  : mixed
load_js()  : mixed
load_view()  : mixed
mass_alert()  : mixed
mass_alert_create()  : mixed
mass_alert_edit()  : mixed
modal()  : mixed
nested_table()  : mixed
nested table constructor
no_editor()  : mixed
no_quotes()  : mixed
or_where()  : mixed
order_by()  : mixed
page_call()  : mixed
page_call_create()  : mixed
page_call_edit()  : mixed
pass_default()  : mixed
pass_var()  : mixed
query()  : mixed
readonly()  : mixed
readonly_on_create()  : mixed
readonly_on_edit()  : mixed
relation()  : mixed
remove_confirm()  : mixed
render()  : mixed
public renderer, final instance method
replace_insert()  : mixed
replace_remove()  : mixed
replace_update()  : mixed
search_columns()  : mixed
search_pattern()  : mixed
send_external()  : mixed
session_start()  : mixed
set_attr()  : mixed
set_exception()  : mixed
set_lang()  : mixed
set_message()  : mixed
set_var()  : mixed
setSessId()  : void
show_primary_ai_column()  : mixed
show_primary_ai_field()  : mixed
start_minimized()  : mixed
subselect()  : mixed
sum()  : mixed
table()  : mixed
table_name()  : mixed
theme()  : mixed
unique()  : mixed
unlock_field()  : mixed
Unlocks additional postdata fields (locked with security reason). This can be used only with callbacks
unset_add()  : mixed
unset_csv()  : mixed
unset_edit()  : mixed
unset_limitlist()  : mixed
unset_list()  : mixed
unset_numbers()  : mixed
unset_pagination()  : mixed
unset_print()  : mixed
unset_remove()  : mixed
unset_search()  : mixed
unset_sortable()  : mixed
unset_title()  : mixed
unset_var()  : mixed
unset_view()  : mixed
validation_pattern()  : mixed
validation_required()  : mixed
where()  : mixed
__clone()  : mixed
__construct()  : mixed
constructor, sets basic xcrud vars (they can be changed by public pethods)
_build_fk_relation_subwhere()  : mixed
_build_limit()  : mixed
_build_order_by()  : mixed
_build_rel_ins_where()  : mixed
_build_rel_where()  : mixed
_build_relation_subwhere()  : mixed
relation values will be searched by displayed name (not by id)
_build_select_clone()  : mixed
_build_select_details()  : mixed
'select' subquery part for edit/details view
_build_select_list()  : mixed
'select' subquery for grid view
_build_table_join()  : mixed
_build_where()  : mixed
builds main where condition for query
_calculate_crop_sizes()  : mixed
_call_action()  : mixed
_cell_attrib()  : mixed
_check_unique_value()  : mixed
_clean_file_name()  : mixed
_clone_row()  : mixed
_compare()  : mixed
_cond_from_where()  : mixed
_cond_from_where_in()  : mixed
_create()  : mixed
creates fieldlist for adding record
_custom_image_crop()  : mixed
_cut()  : mixed
_define_field_type()  : mixed
_draw_watermark()  : mixed
_entry()  : mixed
creates fieldlist for editing or viewing record
_field_from_where()  : mixed
_file_size()  : mixed
_file_size_bin()  : mixed
_get()  : mixed
_get_language()  : mixed
_get_language_static()  : mixed
_get_table()  : mixed
_get_table_info()  : mixed
informatiuon about table columns
_get_theme_config()  : mixed
_humanize()  : mixed
_image_crop()  : mixed
_image_resize()  : mixed
_insert()  : mixed
main insert constructor
_list()  : mixed
grid processing
_pagination()  : mixed
_pagination_item()  : mixed
_post()  : mixed
returns request variable
_prepare_field()  : mixed
_prepare_field_in()  : mixed
_receive_post()  : mixed
receiving user data
_regenerate_key()  : mixed
_remove()  : mixed
main delete
_remove_and_save_uploads()  : mixed
_remove_file()  : mixed
_remove_image()  : mixed
_remove_upload()  : mixed
_render_details()  : mixed
renders details view template
_render_export_item()  : mixed
renders grid cell content, srips tags and prepares values for export in csv or other
_render_file()  : mixed
files and images rendering
_render_list()  : mixed
_render_list_buttons()  : mixed
_render_list_item()  : mixed
_run_task()  : mixed
main task trigger
_save()  : mixed
save events switcher
_set_column_names()  : mixed
_set_field_names()  : mixed
_set_field_types()  : mixed
_thumb_name()  : mixed
_try_change_size()  : mixed
_try_crop_image()  : mixed
_update()  : mixed
main update constructor
_upload()  : mixed
_upload_file()  : mixed
_upload_image()  : mixed
_where_field()  : mixed
_where_fieldkey()  : mixed
add_button()  : mixed
additional_columns()  : mixed
additional_fields()  : mixed
after_render()  : mixed
benchmark_end()  : mixed
benchmark_start()  : mixed
calculate_watermark_offsets()  : mixed
call_exception()  : mixed
check_file()  : mixed
check_file_folders()  : mixed
check_folder()  : mixed
check_postdata()  : mixed
close_tag()  : mixed
condition_backup()  : mixed
condition_restore()  : mixed
create_binary()  : mixed
create_bool()  : mixed
create_checkboxes()  : mixed
create_date()  : mixed
create_datetime()  : mixed
create_file()  : mixed
create_file_folders()  : mixed
create_fk_relation()  : mixed
create_float()  : mixed
create_hidden()  : mixed
create_image()  : mixed
create_int()  : mixed
create_modal()  : mixed
create_multiselect()  : mixed
create_none()  : mixed
create_password()  : mixed
create_point()  : mixed
create_price()  : mixed
create_radio()  : mixed
create_relation()  : mixed
create_remote_image()  : mixed
create_select()  : mixed
create_text()  : mixed
create_textarea()  : mixed
create_texteditor()  : mixed
create_time()  : mixed
create_timestamp()  : mixed
create_view_binary()  : mixed
create_view_bool()  : mixed
create_view_checkboxes()  : mixed
create_view_date()  : mixed
create_view_datetime()  : mixed
create_view_file()  : mixed
create_view_fk_relation()  : mixed
create_view_float()  : mixed
create_view_image()  : mixed
create_view_int()  : mixed
create_view_multiselect()  : mixed
create_view_none()  : mixed
create_view_password()  : mixed
create_view_point()  : mixed
create_view_price()  : mixed
create_view_radio()  : mixed
create_view_relation()  : mixed
create_view_remote_image()  : mixed
create_view_select()  : mixed
create_view_text()  : mixed
create_view_textarea()  : mixed
create_view_texteditor()  : mixed
create_view_time()  : mixed
create_view_timestamp()  : mixed
create_view_year()  : mixed
create_year()  : mixed
csv_button()  : mixed
error()  : mixed
extract_fields_from_text()  : mixed
file_link()  : mixed
filter_image()  : mixed
find_details_text_variables()  : mixed
find_grid_text_variables()  : mixed
find_prev_task()  : mixed
get_browser_info()  : mixed
get_column_tooltip()  : mixed
column tooltip render
get_ext()  : mixed
get_field_attr()  : mixed
get_field_tooltip()  : mixed
field tooltip render
get_filename_noconfict()  : mixed
get_id()  : mixed
get_image_folder()  : mixed
get_limit_list()  : mixed
get_range()  : mixed
date ranges in unix timestamp
get_relation_ordering()  : mixed
get_relation_tree_fields()  : mixed
get_table_tooltip()  : mixed
table tooltip render
get_thumb_path()  : mixed
html_safe()  : mixed
init_prepare()  : mixed
is_button()  : mixed
is_duplicate()  : mixed
is_edit()  : mixed
is_manual_crop()  : mixed
is_remove()  : mixed
is_resize()  : mixed
is_view()  : mixed
lang()  : mixed
make_autoresize()  : mixed
make_field_alias()  : mixed
make_fk_insert()  : mixed
make_fk_remove()  : mixed
make_links()  : mixed
make_mailto()  : mixed
manual_crop()  : mixed
mysql2date()  : mixed
mysql2datetime()  : mixed
mysql2time()  : mixed
open_tag()  : mixed
output_string()  : mixed
params2save()  : mixed
parse_comma_separated()  : mixed
parse_mode()  : mixed
parse_query_params()  : mixed
print_button()  : mixed
query_params_callback()  : mixed
recursive_opts()  : mixed
rel_where_callback()  : mixed
remove_file()  : mixed
remove_tmp_image()  : mixed
remove_upload_button()  : mixed
render_benchmark()  : mixed
render_button()  : mixed
renders action button for details view
render_control_fields()  : mixed
render_crop_window()  : mixed
render_custom_csv()  : mixed
render_custom_datagrid()  : mixed
render_custom_query_task()  : mixed
render_fields_list()  : mixed
autorender of details fields and tabs
render_grid_body()  : mixed
render_grid_footer()  : mixed
render_grid_head()  : mixed
render_limitlist()  : mixed
render_message()  : mixed
render_output()  : mixed
main output
render_pagination()  : mixed
render_search()  : mixed
search constructor and renderer
render_search_hidden()  : mixed
render_sum_item()  : mixed
render_table_name()  : mixed
render_view()  : mixed
returns current view into main container
replace_text_variables()  : mixed
resort_relation_opts()  : mixed
safe_file_name()  : mixed
save_file()  : mixed
save_file_to_tmp()  : mixed
search_fieldlist()  : mixed
this creates unique field types for search
send_email()  : mixed
send_http_request()  : mixed
single_tag()  : mixed
subselect_callback()  : mixed
subselect_query()  : mixed
creates subselect subquery for grid view
subselect_where()  : mixed
theme_config()  : mixed
unix2date()  : mixed
unix2datetime()  : mixed
unix2time()  : mixed
upload_file_button()  : mixed
upload_image_button()  : mixed
validate_postdata()  : mixed
where_pri()  : mixed
defines primary condition for internal usage

Properties

$column_name

public mixed $column_name = array()

$fieldComments

public mixed $fieldComments = array()

$instance_name

public mixed $instance_name

$nameByColumn

public mixed $nameByColumn = rue

$table_ro

public mixed $table_ro = alse

$action

protected mixed $action = array()

$after

protected mixed $after = ull

$after_insert

protected mixed $after_insert = array()

$after_remove

protected mixed $after_remove = array()

$after_resize

protected mixed $after_resize = array()

$after_update

protected mixed $after_update = array()

$after_upload

protected mixed $after_upload = array()

$ajax_request

protected mixed $ajax_request = alse

$alert_create

protected mixed $alert_create

$alert_edit

protected mixed $alert_edit

$before

protected mixed $before = ''

$before_create

protected mixed $before_create = array()

$before_edit

protected mixed $before_edit = array()

$before_insert

protected mixed $before_insert = array()

$before_list

protected mixed $before_list = array()

$before_remove

protected mixed $before_remove = array()

$before_update

protected mixed $before_update = array()

$before_upload

protected mixed $before_upload = array()

$before_view

protected mixed $before_view = array()

$benchmark

protected mixed $benchmark = alse

$binary

protected mixed $binary = array()

$bit_field

protected mixed $bit_field = array()

$buttons

protected mixed $buttons = array()

$buttons_position

protected mixed $buttons_position = 'right'

$classes

protected static mixed $classes = array()

$column

protected mixed $column = alse

$column_callback

protected mixed $column_callback = array()

$column_class

protected mixed $column_class = array()

$column_cut

protected mixed $column_cut = 50

$column_cut_list

protected mixed $column_cut_list = array()

$column_pattern

protected mixed $column_pattern = array()

$column_tooltip

protected mixed $column_tooltip = array()

$column_width

protected mixed $column_width = array()

$columns

protected mixed $columns = array()

$columns_names

protected mixed $columns_names = array()

$condition

protected mixed $condition = array()

$condition_backup

protected mixed $condition_backup = array()

$connection

protected mixed $connection = alse

$css_loaded

protected static mixed $css_loaded = alse

$custom_vars

protected mixed $custom_vars = array()

$default_tab

protected mixed $default_tab = alse

$defaults

protected mixed $defaults = array()

$direct_select_tags

protected mixed $direct_select_tags = array()

$disabled

protected mixed $disabled = array()

$emails_label

protected mixed $emails_label = array()

$exception

protected mixed $exception = alse

$exception_fields

protected mixed $exception_fields = array()

$exception_text

protected mixed $exception_text = ''

$field_attr

protected mixed $field_attr = array()

$field_callback

protected mixed $field_callback = array()

$field_marker

protected mixed $field_marker = array()

$field_params

protected mixed $field_params = array()

$field_tabs

protected mixed $field_tabs = array()

$field_tooltip

protected mixed $field_tooltip = array()

$field_type

protected mixed $field_type = array()

$fields

protected mixed $fields = array()

$fields_create

protected mixed $fields_create = array()

$fields_edit

protected mixed $fields_edit = array()

$fields_list

protected mixed $fields_list = array()

$fields_names

protected mixed $fields_names = array()

$fields_output

protected mixed $fields_output = array()

$fields_view

protected mixed $fields_view = array()

$fk_relation

protected mixed $fk_relation = array()

$grid_condition

protected mixed $grid_condition = array()

$grid_restrictions

protected mixed $grid_restrictions = array()

$hidden_columns

protected mixed $hidden_columns = array()

$hidden_fields

protected mixed $hidden_fields = array()

$hidden_fields_output

protected mixed $hidden_fields_output = array()

$hide_button

protected mixed $hide_button = array()

$highlight

protected mixed $highlight = array()

$highlight_row

protected mixed $highlight_row = array()

$inner_table_instance

protected mixed $inner_table_instance = array()

$inner_value

protected mixed $inner_value = alse

$inner_where

protected mixed $inner_where = array()

$instance

protected static mixed $instance = array()

$instance_count

protected mixed $instance_count

$is_create

protected mixed $is_create = rue

$is_csv

protected mixed $is_csv = rue

$is_duplicate

protected mixed $is_duplicate = alse

$is_edit

protected mixed $is_edit = rue

$is_get

protected mixed $is_get = alse

$is_inner

protected mixed $is_inner = alse

$is_limitlist

protected mixed $is_limitlist = rue

$is_list

protected mixed $is_list = rue

$is_numbers

protected mixed $is_numbers = rue

$is_pagination

protected mixed $is_pagination = rue

$is_print

protected mixed $is_print = rue

$is_remove

protected mixed $is_remove = rue

$is_rtl

protected mixed $is_rtl = rue
protected mixed $is_search = rue

$is_sortable

protected mixed $is_sortable = rue

$is_title

protected mixed $is_title = rue

$is_view

protected mixed $is_view = rue

$join

protected mixed $join = array()

$js_loaded

protected static mixed $js_loaded = alse

$labels

protected mixed $labels = array()

$lang_arr

protected mixed $lang_arr = array()

$language

protected mixed $language = 'fa'

$limit

protected mixed $limit = 20

$limit_list

protected mixed $limit_list = array('20', '50', '100', 'all')
protected mixed $links_label = array()

$load_view

protected mixed $load_view = array('list' => 'xcrud_list_view.php', 'create' => 'xcrud_detail_view.php', 'edit' => 'xcrud_detail_view.php', 'view' => 'xcrud_detail_view.php')

$locked_fields

protected mixed $locked_fields = array()

$mass_alert_create

protected mixed $mass_alert_create = array()

$mass_alert_edit

protected mixed $mass_alert_edit = array()

$message

protected mixed $message = array()

$modal

protected mixed $modal = array()

$nested_rendered

protected mixed $nested_rendered = array()

$no_editor

protected mixed $no_editor = array()

$no_quotes

protected mixed $no_quotes = array()

$no_select

protected mixed $no_select = array()

$order_by

protected mixed $order_by = array()

$order_column

protected mixed $order_column = ull

$order_direct

protected mixed $order_direct = 'asc'

$pass_var

protected mixed $pass_var = array()

$phrase

protected mixed $phrase = ''

$point_field

protected mixed $point_field = array()

$prefix

protected mixed $prefix = ''

$primary_ai

protected mixed $primary_ai = alse

$primary_key

protected mixed $primary_key

$primary_val

protected mixed $primary_val

$query

protected mixed $query = ''

$range

protected mixed $range = ''

$readonly

protected mixed $readonly = array()

$relation

protected mixed $relation = array()

$remove_confirm

protected mixed $remove_confirm = alse

$replace_insert

protected mixed $replace_insert = array()

$replace_remove

protected mixed $replace_remove = array()

$replace_update

protected mixed $replace_update = array()

$result_list

protected mixed $result_list = array()

$result_row

protected mixed $result_row = array()

$result_total

protected mixed $result_total = 0

$reverse_fields

protected mixed $reverse_fields = array()

$safe_output

protected mixed $safe_output = rue
protected mixed $search = 0

$search_columns

protected mixed $search_columns = array()

$search_default

protected mixed $search_default = ull

$search_pattern

protected mixed $search_pattern = array('%', '%')

$send_external_create

protected mixed $send_external_create = array()

$send_external_edit

protected mixed $send_external_edit = array()

$sess_id

protected mixed $sess_id = ull

$set_lang

protected mixed $set_lang = array()

$show_primary_ai_column

protected mixed $show_primary_ai_column = alse

$show_primary_ai_field

protected mixed $show_primary_ai_field = alse

$start

protected mixed $start = 0

$start_minimized

protected mixed $start_minimized = alse

$strip_tags

protected mixed $strip_tags = rue

$subselect

protected mixed $subselect = array()

$subselect_before

protected mixed $subselect_before = array()

$subselect_query

protected mixed $subselect_query = array()

$sum

protected mixed $sum = array()

$tabdesc

protected mixed $tabdesc = array()

$table

protected mixed $table

$table_info

protected mixed $table_info = ull

$table_name

protected mixed $table_name

$table_tooltip

protected mixed $table_tooltip = array()

$task

protected mixed $task = ''

$theme

protected mixed $theme = 'default'

$total_query

protected mixed $total_query = ''

$unique

protected mixed $unique = array()

$upload_config

protected mixed $upload_config = array()

$upload_folder

protected mixed $upload_folder = array()

$upload_folder_def

protected mixed $upload_folder_def = '../../uploads/javazm'

$upload_to_remove

protected mixed $upload_to_remove = array()

$upload_to_save

protected mixed $upload_to_save = array()

$validation_pattern

protected mixed $validation_pattern = array()

$validation_required

protected mixed $validation_required = array()

$where

protected mixed $where = array()

$where_pri

protected mixed $where_pri = array()

$demo_mode

private mixed $demo_mode = alse

Methods

__toString()

public __toString() : mixed
Return values
mixed

_csv()

public _csv() : mixed
Return values
mixed

_export_vars()

public _export_vars() : mixed
Return values
mixed

_parse_field_names()

public _parse_field_names([mixed $fields = '' ][, mixed $location = '' ][, mixed $table = false ]) : mixed
Parameters
$fields : mixed = ''
$location : mixed = ''
$table : mixed = false
Return values
mixed

after_insert()

public after_insert([mixed $callable = '' ][, mixed $path = 'functions.php' ]) : mixed
Parameters
$callable : mixed = ''
$path : mixed = 'functions.php'
Return values
mixed

after_remove()

public after_remove([mixed $callable = '' ][, mixed $path = 'functions.php' ]) : mixed
Parameters
$callable : mixed = ''
$path : mixed = 'functions.php'
Return values
mixed

after_update()

public after_update([mixed $callable = '' ][, mixed $path = 'functions.php' ]) : mixed
Parameters
$callable : mixed = ''
$path : mixed = 'functions.php'
Return values
mixed

after_upload()

public after_upload([mixed $callable = '' ][, mixed $path = 'functions.php' ]) : mixed
Parameters
$callable : mixed = ''
$path : mixed = 'functions.php'
Return values
mixed

alert()

public alert([mixed $columns = '' ][, mixed $cc = '' ][, mixed $subject = '' ][, mixed $message = '' ][, mixed $link = false ][, mixed $field = false ][, mixed $value = false ][, mixed $mode = 'all' ]) : mixed
Parameters
$columns : mixed = ''
$cc : mixed = ''
$subject : mixed = ''
$message : mixed = ''
$link : mixed = false
$field : mixed = false
$value : mixed = false
$mode : mixed = 'all'
Return values
mixed

alert_create()

public alert_create([mixed $column = '' ][, mixed $cc = '' ][, mixed $subject = '' ][, mixed $message = '' ][, mixed $link = false ][, mixed $field = false ][, mixed $value = false ]) : mixed
Parameters
$column : mixed = ''
$cc : mixed = ''
$subject : mixed = ''
$message : mixed = ''
$link : mixed = false
$field : mixed = false
$value : mixed = false
Return values
mixed

alert_edit()

public alert_edit([mixed $column = '' ][, mixed $cc = '' ][, mixed $subject = '' ][, mixed $message = '' ][, mixed $link = false ][, mixed $field = false ][, mixed $value = false ]) : mixed
Parameters
$column : mixed = ''
$cc : mixed = ''
$subject : mixed = ''
$message : mixed = ''
$link : mixed = false
$field : mixed = false
$value : mixed = false
Return values
mixed

before_create()

public before_create([mixed $callable = '' ][, mixed $path = 'functions.php' ]) : mixed
Parameters
$callable : mixed = ''
$path : mixed = 'functions.php'
Return values
mixed

before_edit()

public before_edit([mixed $callable = '' ][, mixed $path = 'functions.php' ]) : mixed
Parameters
$callable : mixed = ''
$path : mixed = 'functions.php'
Return values
mixed

before_insert()

public before_insert([mixed $callable = '' ][, mixed $path = 'functions.php' ]) : mixed
Parameters
$callable : mixed = ''
$path : mixed = 'functions.php'
Return values
mixed

before_list()

public before_list([mixed $callable = '' ][, mixed $path = 'functions.php' ]) : mixed
Parameters
$callable : mixed = ''
$path : mixed = 'functions.php'
Return values
mixed

before_remove()

public before_remove([mixed $callable = '' ][, mixed $path = 'functions.php' ]) : mixed
Parameters
$callable : mixed = ''
$path : mixed = 'functions.php'
Return values
mixed

before_update()

public before_update([mixed $callable = '' ][, mixed $path = 'functions.php' ]) : mixed
Parameters
$callable : mixed = ''
$path : mixed = 'functions.php'
Return values
mixed

before_upload()

public before_upload([mixed $callable = '' ][, mixed $path = 'functions.php' ]) : mixed
Parameters
$callable : mixed = ''
$path : mixed = 'functions.php'
Return values
mixed

before_view()

public before_view([mixed $callable = '' ][, mixed $path = 'functions.php' ]) : mixed
Parameters
$callable : mixed = ''
$path : mixed = 'functions.php'
Return values
mixed

benchmark()

public benchmark([mixed $bool = true ]) : mixed
Parameters
$bool : mixed = true
Return values
mixed

button()

public button([mixed $link = '' ][, mixed $name = '' ][, mixed $icon = '' ][, mixed $class = '' ][, mixed $parameters = array() ][, mixed $condition = array() ]) : mixed
Parameters
$link : mixed = ''
$name : mixed = ''
$icon : mixed = ''
$class : mixed = ''
$parameters : mixed = array()
$condition : mixed = array()
Return values
mixed

buttons_position()

public buttons_position([mixed $position = 'left' ]) : mixed
Parameters
$position : mixed = 'left'
Return values
mixed

call_update()

public call_update(mixed $postdata, mixed $primary) : mixed
Parameters
$postdata : mixed
$primary : mixed
Return values
mixed

change_type()

public change_type([mixed $fields = '' ][, mixed $type = '' ][, mixed $default = false ][, mixed $attr = array() ]) : mixed
Parameters
$fields : mixed = ''
$type : mixed = ''
$default : mixed = false
$attr : mixed = array()
Return values
mixed

check()

public check() : mixed
Return values
mixed

check_url()

public static check_url(mixed $url[, mixed $scr_url = false ]) : mixed
Parameters
$url : mixed
$scr_url : mixed = false
Return values
mixed

column_callback()

public column_callback([mixed $fields = '' ][, mixed $callback = '' ][, mixed $path = 'functions.php' ]) : mixed
Parameters
$fields : mixed = ''
$callback : mixed = ''
$path : mixed = 'functions.php'
Return values
mixed

column_class()

public column_class([mixed $columns = '' ][, mixed $class = '' ]) : mixed
Parameters
$columns : mixed = ''
$class : mixed = ''
Return values
mixed

column_cut()

public column_cut([mixed $int = 50 ][, mixed $fields = false ][, mixed $safe_output = false ]) : mixed
Parameters
$int : mixed = 50
$fields : mixed = false
$safe_output : mixed = false
Return values
mixed

column_name()

public column_name([mixed $fields = '' ][, mixed $text = '' ]) : mixed
Parameters
$fields : mixed = ''
$text : mixed = ''
Return values
mixed

column_pattern()

public column_pattern(mixed $fields, mixed $patern) : mixed
Parameters
$fields : mixed
$patern : mixed
Return values
mixed

column_tooltip()

public column_tooltip([mixed $fields = '' ][, mixed $tooltip = '' ][, mixed $icon = false ]) : mixed
Parameters
$fields : mixed = ''
$tooltip : mixed = ''
$icon : mixed = false
Return values
mixed

column_width()

public column_width([mixed $fields = '' ][, mixed $width = '' ]) : mixed
Parameters
$fields : mixed = ''
$width : mixed = ''
Return values
mixed

columns()

public columns([mixed $columns = '' ][, mixed $reverse = false ]) : mixed
Parameters
$columns : mixed = ''
$reverse : mixed = false
Return values
mixed

condition()

public condition([mixed $fields = '' ][, mixed $operator = '' ][, mixed $value = '' ][, mixed $method = '' ][, mixed $params = array() ][, mixed $mode = false ]) : mixed
Parameters
$fields : mixed = ''
$operator : mixed = ''
$value : mixed = ''
$method : mixed = ''
$params : mixed = array()
$mode : mixed = false
Return values
mixed

connection()

public connection([mixed $user = '' ][, mixed $pass = '' ][, mixed $table = '' ][, mixed $host = 'localhost' ][, mixed $encode = 'utf8' ]) : mixed
Parameters
$user : mixed = ''
$pass : mixed = ''
$table : mixed = ''
$host : mixed = 'localhost'
$encode : mixed = 'utf8'
Return values
mixed

create_action()

public create_action([mixed $name = '' ][, mixed $callable = '' ][, mixed $path = 'functions.php' ]) : mixed
Parameters
$name : mixed = ''
$callable : mixed = ''
$path : mixed = 'functions.php'
Return values
mixed

decrypt()

public decrypt(mixed $text, mixed $iv) : mixed
Parameters
$text : mixed
$iv : mixed
Return values
mixed

default_tab()

public default_tab([mixed $name = false ]) : mixed
Parameters
$name : mixed = false
Return values
mixed

disabled()

public disabled([mixed $fields = '' ][, mixed $mode = false ]) : mixed
Parameters
$fields : mixed = ''
$mode : mixed = false
Return values
mixed

disabled_on_create()

public disabled_on_create([mixed $field = '' ]) : mixed
Parameters
$field : mixed = ''
Return values
mixed

disabled_on_edit()

public disabled_on_edit([mixed $field = '' ]) : mixed
Parameters
$field : mixed = ''
Return values
mixed

duplicate_button()

public duplicate_button([mixed $bool = true ][, mixed $field = false ][, mixed $operand = false ][, mixed $value = false ]) : mixed
Parameters
$bool : mixed = true
$field : mixed = false
$operand : mixed = false
$value : mixed = false
Return values
mixed

emails_label()

public emails_label([mixed $text = '' ]) : mixed
Parameters
$text : mixed = ''
Return values
mixed

encrypt()

public encrypt(mixed $obj) : mixed
Parameters
$obj : mixed
Return values
mixed

export_session()

public static export_session() : mixed
Return values
mixed

field_callback()

public field_callback([mixed $fields = '' ][, mixed $callback = '' ][, mixed $path = 'functions.php' ]) : mixed
Parameters
$fields : mixed = ''
$callback : mixed = ''
$path : mixed = 'functions.php'
Return values
mixed

field_tooltip()

public field_tooltip([mixed $fields = '' ][, mixed $tooltip = '' ][, mixed $icon = false ]) : mixed
Parameters
$fields : mixed = ''
$tooltip : mixed = ''
$icon : mixed = false
Return values
mixed

fieldname_decode()

public fieldname_decode([mixed $name = '' ]) : mixed
Parameters
$name : mixed = ''
Return values
mixed

fieldname_encode()

public fieldname_encode([mixed $name = '' ]) : mixed
Parameters
$name : mixed = ''
Return values
mixed

fields()

public fields([mixed $fields = '' ][, mixed $reverse = false ][, mixed $tabname = false ][, mixed $mode = false ]) : mixed
Parameters
$fields : mixed = ''
$reverse : mixed = false
$tabname : mixed = false
$mode : mixed = false
Return values
mixed

fk_relation()

public fk_relation([mixed $label = '' ][, mixed $fields = '' ][, mixed $fk_table = '' ][, mixed $in_fk_field = '' ][, mixed $out_fk_field = '' ][, mixed $rel_tbl = '' ][, mixed $rel_field = '' ][, mixed $rel_name = '' ][, mixed $rel_where = array() ][, mixed $rel_orderby = '' ][, mixed $rel_concat_separator = ' ' ][, mixed $before = '' ][, array<string|int, mixed> $add_data = array() ]) : mixed
Parameters
$label : mixed = ''
$fields : mixed = ''
$fk_table : mixed = ''
$in_fk_field : mixed = ''
$out_fk_field : mixed = ''
$rel_tbl : mixed = ''
$rel_field : mixed = ''
$rel_name : mixed = ''
$rel_where : mixed = array()
$rel_orderby : mixed = ''
$rel_concat_separator : mixed = ' '
$before : mixed = ''
$add_data : array<string|int, mixed> = array()
Return values
mixed

get()

public get([mixed $name = '' ]) : mixed
Parameters
$name : mixed = ''
Return values
mixed

get_instance()

public static get_instance([mixed $name = false ]) : mixed
Parameters
$name : mixed = false
Return values
mixed

get_requested_instance()

public static get_requested_instance() : mixed
Return values
mixed

get_var()

public get_var([mixed $name = null ]) : mixed
Parameters
$name : mixed = null
Return values
mixed

getSessId()

public getSessId() : null
Return values
null

hide_button()

public hide_button([mixed $names = '' ]) : mixed
Parameters
$names : mixed = ''
Return values
mixed

highlight()

public highlight([mixed $columns = '' ][, mixed $operator = '' ][, mixed $value = '' ][, mixed $color = '' ][, mixed $class = '' ]) : mixed
Parameters
$columns : mixed = ''
$operator : mixed = ''
$value : mixed = ''
$color : mixed = ''
$class : mixed = ''
Return values
mixed

highlight_row()

public highlight_row([mixed $columns = '' ][, mixed $operator = '' ][, mixed $value = '' ][, mixed $color = '' ][, mixed $class = '' ]) : mixed
Parameters
$columns : mixed = ''
$operator : mixed = ''
$value : mixed = ''
$color : mixed = ''
$class : mixed = ''
Return values
mixed

import_session()

public static import_session(mixed $data) : mixed
Parameters
$data : mixed
Return values
mixed

import_vars()

public import_vars([mixed $key = false ]) : mixed
Parameters
$key : mixed = false
Return values
mixed

inner_where()

defines nested main condition, must be public. Only for internal usage.

public inner_where([mixed $value = false ]) : mixed
Parameters
$value : mixed = false
Return values
mixed

instance_name()

public instance_name() : mixed
Return values
mixed

join()

public join([mixed $fields = '' ][, mixed $join_tbl = '' ][, mixed $join_field = '' ][, mixed $alias = false ]) : mixed
Parameters
$fields : mixed = ''
$join_tbl : mixed = ''
$join_field : mixed = ''
$alias : mixed = false
Return values
mixed

label()

public label([mixed $fields = '' ][, mixed $label = '' ]) : mixed
Parameters
$fields : mixed = ''
$label : mixed = ''
Return values
mixed

language()

public language([mixed $lang = 'fa' ]) : mixed
Parameters
$lang : mixed = 'fa'
Return values
mixed

limit()

public limit([mixed $limit = 20 ]) : mixed
Parameters
$limit : mixed = 20
Return values
mixed

limit_list()

public limit_list([mixed $limit_list = '' ]) : mixed
Parameters
$limit_list : mixed = ''
Return values
mixed
public links_label([mixed $text = '' ]) : mixed
Parameters
$text : mixed = ''
Return values
mixed

load_core_class()

public load_core_class(mixed $name) : mixed
Parameters
$name : mixed
Return values
mixed

load_css()

public static load_css() : mixed
Return values
mixed

load_js()

public static load_js() : mixed
Return values
mixed

load_view()

public load_view([mixed $mode = '' ][, mixed $file = '' ]) : mixed
Parameters
$mode : mixed = ''
$file : mixed = ''
Return values
mixed

mass_alert()

public mass_alert([mixed $email_table = '' ][, mixed $email_column = '' ][, mixed $emeil_where = '' ][, mixed $subject = '' ][, mixed $message = '' ][, mixed $link = false ][, mixed $field = false ][, mixed $value = false ][, mixed $mode = 'all' ]) : mixed
Parameters
$email_table : mixed = ''
$email_column : mixed = ''
$emeil_where : mixed = ''
$subject : mixed = ''
$message : mixed = ''
$link : mixed = false
$field : mixed = false
$value : mixed = false
$mode : mixed = 'all'
Return values
mixed

mass_alert_create()

public mass_alert_create([mixed $email_table = '' ][, mixed $email_column = '' ][, mixed $emeil_where = '' ][, mixed $subject = '' ][, mixed $message = '' ][, mixed $link = false ][, mixed $field = false ][, mixed $value = false ]) : mixed
Parameters
$email_table : mixed = ''
$email_column : mixed = ''
$emeil_where : mixed = ''
$subject : mixed = ''
$message : mixed = ''
$link : mixed = false
$field : mixed = false
$value : mixed = false
Return values
mixed

mass_alert_edit()

public mass_alert_edit([mixed $email_table = '' ][, mixed $email_column = '' ][, mixed $emeil_where = '' ][, mixed $subject = '' ][, mixed $message = '' ][, mixed $link = false ][, mixed $field = false ][, mixed $value = false ]) : mixed
Parameters
$email_table : mixed = ''
$email_column : mixed = ''
$emeil_where : mixed = ''
$subject : mixed = ''
$message : mixed = ''
$link : mixed = false
$field : mixed = false
$value : mixed = false
Return values
mixed

modal()

public modal([mixed $columns = '' ][, mixed $icon = false ]) : mixed
Parameters
$columns : mixed = ''
$icon : mixed = false
Return values
mixed

nested_table()

nested table constructor

public nested_table([mixed $instance_name = '' ][, mixed $field = '' ][, mixed $inner_tbl = '' ][, mixed $tbl_field = '' ]) : mixed
Parameters
$instance_name : mixed = ''
$field : mixed = ''
$inner_tbl : mixed = ''
$tbl_field : mixed = ''
Return values
mixed

no_editor()

public no_editor([mixed $fields = '' ]) : mixed
Parameters
$fields : mixed = ''
Return values
mixed

no_quotes()

public no_quotes([mixed $fields = '' ]) : mixed
Parameters
$fields : mixed = ''
Return values
mixed

or_where()

public or_where([mixed $fields = '' ][, mixed $where_val = false ]) : mixed
Parameters
$fields : mixed = ''
$where_val : mixed = false
Return values
mixed

order_by()

public order_by([mixed $fields = '' ][, mixed $direction = 'asc' ]) : mixed
Parameters
$fields : mixed = ''
$direction : mixed = 'asc'
Return values
mixed

page_call()

public page_call([mixed $url = '' ][, mixed $data = array() ][, mixed $where_param = '' ][, mixed $where_value = '' ][, mixed $method = 'get' ]) : mixed
Parameters
$url : mixed = ''
$data : mixed = array()
$where_param : mixed = ''
$where_value : mixed = ''
$method : mixed = 'get'
Return values
mixed

page_call_create()

public page_call_create([mixed $url = '' ][, mixed $data = array() ][, mixed $where_param = '' ][, mixed $where_value = '' ][, mixed $method = 'get' ]) : mixed
Parameters
$url : mixed = ''
$data : mixed = array()
$where_param : mixed = ''
$where_value : mixed = ''
$method : mixed = 'get'
Return values
mixed

page_call_edit()

public page_call_edit([mixed $url = '' ][, mixed $data = array() ][, mixed $where_param = '' ][, mixed $where_value = '' ][, mixed $method = 'get' ]) : mixed
Parameters
$url : mixed = ''
$data : mixed = array()
$where_param : mixed = ''
$where_value : mixed = ''
$method : mixed = 'get'
Return values
mixed

pass_default()

public pass_default([mixed $fields = '' ][, mixed $value = '' ]) : mixed
Parameters
$fields : mixed = ''
$value : mixed = ''
Return values
mixed

pass_var()

public pass_var([mixed $fields = '' ][, mixed $value = '' ][, mixed $type = 'all' ]) : mixed
Parameters
$fields : mixed = ''
$value : mixed = ''
$type : mixed = 'all'
Return values
mixed

query()

public query([mixed $query = '' ]) : mixed
Parameters
$query : mixed = ''
Return values
mixed

readonly()

public readonly([mixed $fields = '' ][, mixed $mode = false ]) : mixed
Parameters
$fields : mixed = ''
$mode : mixed = false
Return values
mixed

readonly_on_create()

public readonly_on_create([mixed $field = '' ]) : mixed
Parameters
$field : mixed = ''
Return values
mixed

readonly_on_edit()

public readonly_on_edit([mixed $field = '' ]) : mixed
Parameters
$field : mixed = ''
Return values
mixed

relation()

public relation([mixed $fields = '' ][, mixed $rel_tbl = '' ][, mixed $rel_field = '' ][, mixed $rel_name = '' ][, mixed $rel_where = array() ][, mixed $order_by = false ][, mixed $multi = false ][, mixed $rel_concat_separator = ' ' ][, mixed $tree = false ][, mixed $depend_field = '' ][, mixed $depend_on = '' ]) : mixed
Parameters
$fields : mixed = ''
$rel_tbl : mixed = ''
$rel_field : mixed = ''
$rel_name : mixed = ''
$rel_where : mixed = array()
$order_by : mixed = false
$multi : mixed = false
$rel_concat_separator : mixed = ' '
$tree : mixed = false
$depend_field : mixed = ''
$depend_on : mixed = ''
Return values
mixed

remove_confirm()

public remove_confirm([mixed $bool = true ]) : mixed
Parameters
$bool : mixed = true
Return values
mixed

render()

public renderer, final instance method

public render([mixed $task = false ][, mixed $primary = false ]) : mixed
Parameters
$task : mixed = false
$primary : mixed = false
Return values
mixed

replace_insert()

public replace_insert([mixed $callable = '' ][, mixed $path = 'functions.php' ]) : mixed
Parameters
$callable : mixed = ''
$path : mixed = 'functions.php'
Return values
mixed

replace_remove()

public replace_remove([mixed $callable = '' ][, mixed $path = 'functions.php' ]) : mixed
Parameters
$callable : mixed = ''
$path : mixed = 'functions.php'
Return values
mixed

replace_update()

public replace_update([mixed $callable = '' ][, mixed $path = 'functions.php' ]) : mixed
Parameters
$callable : mixed = ''
$path : mixed = 'functions.php'
Return values
mixed

search_columns()

public search_columns([mixed $fields = '' ][, mixed $default = null ]) : mixed
Parameters
$fields : mixed = ''
$default : mixed = null
Return values
mixed

search_pattern()

public search_pattern([mixed $left = '%' ][, mixed $right = '%' ]) : mixed
Parameters
$left : mixed = '%'
$right : mixed = '%'
Return values
mixed

send_external()

public send_external(mixed $path[, mixed $data = array() ][, mixed $method = 'include' ][, mixed $mode = 'all' ][, mixed $where_field = '' ][, mixed $where_val = '' ]) : mixed
Parameters
$path : mixed
$data : mixed = array()
$method : mixed = 'include'
$mode : mixed = 'all'
$where_field : mixed = ''
$where_val : mixed = ''
Return values
mixed

session_start()

public static session_start([mixed $sess_name = false ]) : mixed
Parameters
$sess_name : mixed = false
Return values
mixed

set_attr()

public set_attr([mixed $fields = '' ][, array<string|int, mixed> $attr = array() ]) : mixed
Parameters
$fields : mixed = ''
$attr : array<string|int, mixed> = array()
Return values
mixed

set_exception()

public set_exception([mixed $fields = '' ][, mixed $message = '' ][, mixed $type = 'note' ]) : mixed
Parameters
$fields : mixed = ''
$message : mixed = ''
$type : mixed = 'note'
Return values
mixed

set_lang()

public set_lang([mixed $var = '' ][, mixed $translate = '' ]) : mixed
Parameters
$var : mixed = ''
$translate : mixed = ''
Return values
mixed

set_message()

public set_message([mixed $message = '' ][, mixed $type = 'note' ]) : mixed
Parameters
$message : mixed = ''
$type : mixed = 'note'
Return values
mixed

set_var()

public set_var([mixed $name = null ][, mixed $value = null ]) : mixed
Parameters
$name : mixed = null
$value : mixed = null
Return values
mixed

setSessId()

public setSessId(null $sess_id) : void
Parameters
$sess_id : null
Return values
void

show_primary_ai_column()

public show_primary_ai_column([mixed $bool = true ]) : mixed
Parameters
$bool : mixed = true
Return values
mixed

show_primary_ai_field()

public show_primary_ai_field([mixed $bool = true ]) : mixed
Parameters
$bool : mixed = true
Return values
mixed

start_minimized()

public start_minimized([mixed $bool = true ]) : mixed
Parameters
$bool : mixed = true
Return values
mixed

subselect()

public subselect([mixed $column_name = '' ][, mixed $sql = '' ][, mixed $before = false ]) : mixed
Parameters
$column_name : mixed = ''
$sql : mixed = ''
$before : mixed = false
Return values
mixed

sum()

public sum([mixed $fields = '' ][, mixed $class = '' ][, mixed $custom_text = '' ]) : mixed
Parameters
$fields : mixed = ''
$class : mixed = ''
$custom_text : mixed = ''
Return values
mixed

table()

public table([mixed $table = '' ][, mixed $prefix = '' ]) : mixed
Parameters
$table : mixed = ''
$prefix : mixed = ''
Return values
mixed

table_name()

public table_name([mixed $name = '' ][, mixed $tooltip = false ][, mixed $icon = false ]) : mixed
Parameters
$name : mixed = ''
$tooltip : mixed = false
$icon : mixed = false
Return values
mixed

theme()

public theme([mixed $theme = 'default' ]) : mixed
Parameters
$theme : mixed = 'default'
Return values
mixed

unique()

public unique([mixed $fields = '' ]) : mixed
Parameters
$fields : mixed = ''
Return values
mixed

unlock_field()

Unlocks additional postdata fields (locked with security reason). This can be used only with callbacks

public unlock_field([mixed $fields = '' ]) : mixed
Parameters
$fields : mixed = ''
Return values
mixed

unset_add()

public unset_add([mixed $bool = true ]) : mixed
Parameters
$bool : mixed = true
Return values
mixed

unset_csv()

public unset_csv([mixed $bool = true ]) : mixed
Parameters
$bool : mixed = true
Return values
mixed

unset_edit()

public unset_edit([mixed $bool = true ][, mixed $field = false ][, mixed $operand = false ][, mixed $value = false ]) : mixed
Parameters
$bool : mixed = true
$field : mixed = false
$operand : mixed = false
$value : mixed = false
Return values
mixed

unset_limitlist()

public unset_limitlist([mixed $bool = true ]) : mixed
Parameters
$bool : mixed = true
Return values
mixed

unset_list()

public unset_list([mixed $bool = true ]) : mixed
Parameters
$bool : mixed = true
Return values
mixed

unset_numbers()

public unset_numbers([mixed $bool = true ]) : mixed
Parameters
$bool : mixed = true
Return values
mixed

unset_pagination()

public unset_pagination([mixed $bool = true ]) : mixed
Parameters
$bool : mixed = true
Return values
mixed

unset_print()

public unset_print([mixed $bool = true ]) : mixed
Parameters
$bool : mixed = true
Return values
mixed

unset_remove()

public unset_remove([mixed $bool = true ][, mixed $field = false ][, mixed $operand = false ][, mixed $value = false ]) : mixed
Parameters
$bool : mixed = true
$field : mixed = false
$operand : mixed = false
$value : mixed = false
Return values
mixed
public unset_search([mixed $bool = true ]) : mixed
Parameters
$bool : mixed = true
Return values
mixed

unset_sortable()

public unset_sortable([mixed $bool = true ]) : mixed
Parameters
$bool : mixed = true
Return values
mixed

unset_title()

public unset_title([mixed $bool = true ]) : mixed
Parameters
$bool : mixed = true
Return values
mixed

unset_var()

public unset_var(mixed $name) : mixed
Parameters
$name : mixed
Return values
mixed

unset_view()

public unset_view([mixed $bool = true ][, mixed $field = false ][, mixed $operand = false ][, mixed $value = false ]) : mixed
Parameters
$bool : mixed = true
$field : mixed = false
$operand : mixed = false
$value : mixed = false
Return values
mixed

validation_pattern()

public validation_pattern([mixed $fields = '' ][, mixed $pattern = '' ]) : mixed
Parameters
$fields : mixed = ''
$pattern : mixed = ''
Return values
mixed

validation_required()

public validation_required([mixed $fields = '' ][, mixed $chars = 1 ]) : mixed
Parameters
$fields : mixed = ''
$chars : mixed = 1
Return values
mixed

where()

public where([mixed $fields = false ][, mixed $where_val = false ][, mixed $glue = 'AND' ][, mixed $index = false ]) : mixed
Parameters
$fields : mixed = false
$where_val : mixed = false
$glue : mixed = 'AND'
$index : mixed = false
Return values
mixed

__clone()

protected __clone() : mixed
Return values
mixed

__construct()

constructor, sets basic xcrud vars (they can be changed by public pethods)

protected __construct() : mixed
Return values
mixed

_build_fk_relation_subwhere()

protected _build_fk_relation_subwhere(mixed $key) : mixed
Parameters
$key : mixed
Return values
mixed

_build_limit()

protected _build_limit(mixed $total) : mixed
Parameters
$total : mixed
Return values
mixed

_build_order_by()

protected _build_order_by() : mixed
Return values
mixed

_build_rel_ins_where()

protected _build_rel_ins_where(mixed $name) : mixed
Parameters
$name : mixed
Return values
mixed

_build_rel_where()

protected _build_rel_where(mixed $name) : mixed
Parameters
$name : mixed
Return values
mixed

_build_relation_subwhere()

relation values will be searched by displayed name (not by id)

protected _build_relation_subwhere(mixed $key) : mixed
Parameters
$key : mixed
Return values
mixed

_build_select_clone()

protected _build_select_clone(mixed $columns) : mixed
Parameters
$columns : mixed
Return values
mixed

_build_select_details()

'select' subquery part for edit/details view

protected _build_select_details(mixed $mode) : mixed
Parameters
$mode : mixed
Return values
mixed

_build_select_list()

'select' subquery for grid view

protected _build_select_list([mixed $csv = false ]) : mixed
Parameters
$csv : mixed = false
Return values
mixed

_build_table_join()

protected _build_table_join() : mixed
Return values
mixed

_build_where()

builds main where condition for query

protected _build_where() : mixed
Return values
mixed

_calculate_crop_sizes()

protected _calculate_crop_sizes(mixed $w, mixed $h, mixed $set_w, mixed $set_h, mixed $set_ratio) : mixed
Parameters
$w : mixed
$h : mixed
$set_w : mixed
$set_h : mixed
$set_ratio : mixed
Return values
mixed

_call_action()

protected _call_action() : mixed
Return values
mixed

_cell_attrib()

protected _cell_attrib(mixed $field, mixed $value, mixed $order, mixed &$row[, mixed $is_sum = false ][, mixed $row_color = false ][, mixed $row_class = false ]) : mixed
Parameters
$field : mixed
$value : mixed
$order : mixed
$row : mixed
$is_sum : mixed = false
$row_color : mixed = false
$row_class : mixed = false
Return values
mixed

_check_unique_value()

protected _check_unique_value() : mixed
Return values
mixed

_clean_file_name()

protected _clean_file_name(mixed $txt) : mixed
Parameters
$txt : mixed
Return values
mixed

_clone_row()

protected _clone_row() : mixed
Return values
mixed

_compare()

protected _compare(mixed $val1, mixed $operator, mixed $val2) : mixed
Parameters
$val1 : mixed
$operator : mixed
$val2 : mixed
Return values
mixed

_cond_from_where()

protected _cond_from_where(mixed $field) : mixed
Parameters
$field : mixed
Return values
mixed

_cond_from_where_in()

protected _cond_from_where_in(mixed $field) : mixed
Parameters
$field : mixed
Return values
mixed

_create()

creates fieldlist for adding record

protected _create([mixed $postdata = array() ]) : mixed
Parameters
$postdata : mixed = array()
Return values
mixed

_custom_image_crop()

protected _custom_image_crop(mixed $src_file, mixed $dest_file, mixed $new_size_w, mixed $new_size_h, mixed $dest_qual, mixed $x, mixed $y, mixed $w, mixed $h[, mixed $watermark = false ][, mixed $watermark_position = array(50, 50) ]) : mixed
Parameters
$src_file : mixed
$dest_file : mixed
$new_size_w : mixed
$new_size_h : mixed
$dest_qual : mixed
$x : mixed
$y : mixed
$w : mixed
$h : mixed
$watermark : mixed = false
$watermark_position : mixed = array(50, 50)
Return values
mixed

_cut()

protected _cut(mixed $string, mixed $field[, mixed $wordsafe = true ][, mixed $dots = true ]) : mixed
Parameters
$string : mixed
$field : mixed
$wordsafe : mixed = true
$dots : mixed = true
Return values
mixed

_define_field_type()

protected _define_field_type(mixed $row, mixed $field_index) : mixed
Parameters
$row : mixed
$field_index : mixed
Return values
mixed

_draw_watermark()

protected _draw_watermark(mixed $src_file, mixed $dest_file[, mixed $dest_qual = 95 ][, mixed $watermark = false ][, mixed $watermark_position = array(50, 50) ]) : mixed
Parameters
$src_file : mixed
$dest_file : mixed
$dest_qual : mixed = 95
$watermark : mixed = false
$watermark_position : mixed = array(50, 50)
Return values
mixed

_entry()

creates fieldlist for editing or viewing record

protected _entry([mixed $mode = 'edit' ][, mixed $postdata = array() ]) : mixed
Parameters
$mode : mixed = 'edit'
$postdata : mixed = array()
Return values
mixed

_field_from_where()

protected _field_from_where(mixed $field) : mixed
Parameters
$field : mixed
Return values
mixed

_file_size()

protected _file_size(mixed $path) : mixed
Parameters
$path : mixed
Return values
mixed

_file_size_bin()

protected _file_size_bin(mixed $text) : mixed
Parameters
$text : mixed
Return values
mixed

_get()

protected _get([mixed $field = '' ][, mixed $default = false ][, mixed $filter = false ]) : mixed
Parameters
$field : mixed = ''
$default : mixed = false
$filter : mixed = false
Return values
mixed

_get_language()

protected _get_language() : mixed
Return values
mixed

_get_language_static()

protected static _get_language_static() : mixed
Return values
mixed

_get_table()

protected _get_table(mixed $method) : mixed
Parameters
$method : mixed
Return values
mixed

_get_table_info()

informatiuon about table columns

protected _get_table_info() : mixed
Return values
mixed

_get_theme_config()

protected _get_theme_config() : mixed
Return values
mixed

_humanize()

protected _humanize(mixed $text) : mixed
Parameters
$text : mixed
Return values
mixed

_image_crop()

protected _image_crop(mixed $src_file, mixed $dest_file, mixed $new_size_w, mixed $new_size_h[, mixed $dest_qual = 92 ][, mixed $watermark = false ][, mixed $watermark_position = array(50, 50) ]) : mixed
Parameters
$src_file : mixed
$dest_file : mixed
$new_size_w : mixed
$new_size_h : mixed
$dest_qual : mixed = 92
$watermark : mixed = false
$watermark_position : mixed = array(50, 50)
Return values
mixed

_image_resize()

protected _image_resize(mixed $src_file, mixed $dest_file[, mixed $new_size_w = false ][, mixed $new_size_h = false ][, mixed $dest_qual = 92 ][, mixed $watermark = false ][, mixed $watermark_position = array(50, 50) ]) : mixed
Parameters
$src_file : mixed
$dest_file : mixed
$new_size_w : mixed = false
$new_size_h : mixed = false
$dest_qual : mixed = 92
$watermark : mixed = false
$watermark_position : mixed = array(50, 50)
Return values
mixed

_insert()

main insert constructor

protected _insert(mixed $postdata[, mixed $no_processing = false ][, mixed $no_processing_fields = array() ]) : mixed
Parameters
$postdata : mixed
$no_processing : mixed = false
$no_processing_fields : mixed = array()
Return values
mixed

_list()

grid processing

protected _list() : mixed
Return values
mixed

_pagination()

protected _pagination(mixed $total, mixed $start, mixed $limit[, mixed $numpos = 10 ][, mixed $numlr = 2 ]) : mixed
Parameters
$total : mixed
$start : mixed
$limit : mixed
$numpos : mixed = 10
$numlr : mixed = 2
Return values
mixed

_pagination_item()

protected _pagination_item(mixed $i, mixed $curent, mixed $limit) : mixed
Parameters
$i : mixed
$curent : mixed
$limit : mixed
Return values
mixed

_post()

returns request variable

protected _post([mixed $field = '' ][, mixed $default = false ][, mixed $filter = false ]) : mixed
Parameters
$field : mixed = ''
$default : mixed = false
$filter : mixed = false
Return values
mixed

_prepare_field()

protected _prepare_field(mixed $field) : mixed
Parameters
$field : mixed
Return values
mixed

_prepare_field_in()

protected _prepare_field_in(mixed $field) : mixed
Parameters
$field : mixed
Return values
mixed

_receive_post()

receiving user data

protected _receive_post([mixed $task = false ][, mixed $primary = false ]) : mixed
Parameters
$task : mixed = false
$primary : mixed = false
Return values
mixed

_regenerate_key()

protected _regenerate_key() : mixed
Return values
mixed

_remove()

main delete

protected _remove() : mixed
Return values
mixed

_remove_and_save_uploads()

protected _remove_and_save_uploads() : mixed
Return values
mixed

_remove_file()

protected _remove_file() : mixed
Return values
mixed

_remove_image()

protected _remove_image() : mixed
Return values
mixed

_remove_upload()

protected _remove_upload() : mixed
Return values
mixed

_render_details()

renders details view template

protected _render_details(mixed $mode) : mixed
Parameters
$mode : mixed
Return values
mixed

_render_export_item()

renders grid cell content, srips tags and prepares values for export in csv or other

protected _render_export_item(mixed $field, mixed $value, mixed $primary_val, mixed $row) : mixed
Parameters
$field : mixed
$value : mixed
$primary_val : mixed
$row : mixed
Return values
mixed

_render_file()

files and images rendering

protected _render_file() : mixed
Return values
mixed

_render_list()

protected _render_list() : mixed
Return values
mixed

_render_list_buttons()

protected _render_list_buttons(mixed &$row) : mixed
Parameters
$row : mixed
Return values
mixed

_render_list_item()

protected _render_list_item(mixed $field, mixed $value, mixed $primary_val, mixed $row) : mixed
Parameters
$field : mixed
$value : mixed
$primary_val : mixed
$row : mixed
Return values
mixed

_run_task()

main task trigger

protected _run_task() : mixed
Return values
mixed

_save()

save events switcher

protected _save() : mixed
Return values
mixed

_set_column_names()

protected _set_column_names() : mixed
Return values
mixed

_set_field_names()

protected _set_field_names() : mixed
Return values
mixed

_set_field_types()

protected _set_field_types([mixed $mode = 'create' ][, mixed $all_fields = false ]) : mixed
Parameters
$mode : mixed = 'create'
$all_fields : mixed = false
Return values
mixed

_thumb_name()

protected _thumb_name(mixed $name, mixed $marker) : mixed
Parameters
$name : mixed
$marker : mixed
Return values
mixed

_try_change_size()

protected _try_change_size(mixed $tmp_path, mixed $file_path, mixed $field, mixed $settings) : mixed
Parameters
$tmp_path : mixed
$file_path : mixed
$field : mixed
$settings : mixed
Return values
mixed

_try_crop_image()

protected _try_crop_image(mixed $tmp_path, mixed $file_path, mixed $field, mixed $settings, mixed $x, mixed $y, mixed $w, mixed $h, mixed $ratio) : mixed
Parameters
$tmp_path : mixed
$file_path : mixed
$field : mixed
$settings : mixed
$x : mixed
$y : mixed
$w : mixed
$h : mixed
$ratio : mixed
Return values
mixed

_update()

main update constructor

protected _update(mixed $postdata, mixed $primary) : mixed
Parameters
$postdata : mixed
$primary : mixed
Return values
mixed

_upload()

protected _upload() : mixed
Return values
mixed

_upload_file()

protected _upload_file() : mixed
Return values
mixed

_upload_image()

protected _upload_image() : mixed
Return values
mixed

_where_field()

protected _where_field(mixed $param) : mixed
Parameters
$param : mixed
Return values
mixed

_where_fieldkey()

protected _where_fieldkey(mixed $param) : mixed
Parameters
$param : mixed
Return values
mixed

add_button()

protected add_button([mixed $class = '' ][, mixed $icon = '' ]) : mixed
Parameters
$class : mixed = ''
$icon : mixed = ''
Return values
mixed

additional_columns()

protected additional_columns([mixed $fields = '' ]) : mixed
Parameters
$fields : mixed = ''
Return values
mixed

additional_fields()

protected additional_fields([mixed $fields = '' ]) : mixed
Parameters
$fields : mixed = ''
Return values
mixed

after_render()

protected after_render() : mixed
Return values
mixed

benchmark_end()

protected benchmark_end() : mixed
Return values
mixed

benchmark_start()

protected benchmark_start() : mixed
Return values
mixed

calculate_watermark_offsets()

protected calculate_watermark_offsets(mixed $img_w, mixed $img_h, mixed $water_w, mixed $water_h, mixed $water_pos) : mixed
Parameters
$img_w : mixed
$img_h : mixed
$water_w : mixed
$water_h : mixed
$water_pos : mixed
Return values
mixed

call_exception()

protected call_exception([mixed $postdata = array() ]) : mixed
Parameters
$postdata : mixed = array()
Return values
mixed

check_file()

protected check_file(mixed $path, mixed $func_name) : mixed
Parameters
$path : mixed
$func_name : mixed
Return values
mixed

check_file_folders()

protected check_file_folders(mixed $field) : mixed
Parameters
$field : mixed
Return values
mixed

check_folder()

protected check_folder(mi