function __construct($h='',$table,$seccion,$usuario_id=null,$usuario=null) { function process_action(&$h=null,&$id=null) { function process($h=null,$id=null) { function iaHeader_need_listme() { function iaHeader_need_form($RW=true) { private function iaHeader_need_has(&$need,$has) { function add_default_values($addParams=0) { function add_adhoc_params() { function params_to_value($conOri=true,$fillFromEnDB=false,$prefix='',$forzaRead=false) { function validate_delete($record) { function validate() { public function insert_do() { public function insert() { function insert_pre_validate() { return true; } function insert_validate() { return $this->validate(); } function insert_pre_save() { return true; } function insert_extra_values(&$insArray,&$log) { return true; } function insert_extra_sql(&$ins,&$val,&$log) { } function insert_add_sql_queries(&$sql,&$log) { return true;} function insert_save() { function insert_post_save() {return true;} function update_do() { function update() { function update_pre_validate() { return true; } function update_validate() { return $this->validate(); } function update_pre_save() { return true; } function update_add_sql_queries(&$sql,&$log) { return true;} function update_extra_sql(&$updArray,&$log) { return true; } function update_save() { function update_post_save() {return true;} function delete_do() { function delete_pre_validate($h) { return true; } function delete_post_validate($h) { return true; } function delete_pre_confirm_delete() { return true; } function delete_pre_delete($h) { return true; } function delete_post_delete($h) { } function delete_sql($record) { function delete_sql_extra($record,&$sql) { function log_field($fieldName,$msg,&$log) { public function log($action,$log) { function msg_show() { function form_edit_view_delete_prepare() { function form_alta_prepare() { function form_tag($action='',$tag='novalidate',$extraParams=array()) { jQuery(function($) { function forma_insert($nexth='i') { function forma_update($nexth='s') { function forma_read($h='r') { function forma_delete_confirm($h='b') { function forma_deleted_feedback() { public function forma($h,$nexth='') { public function forma_pre(&$h,&$nexth) { return true; } public function forma_post(&$h,&$nexth,$ok=true) { return true; } public function forma_preFields(&$h,&$nexth) { return true; } public function forma_postFields(&$h,&$nexth) { return true; } public function forma_doChilds(&$h,&$nexth) { return true; } public function forma_postDiv($h,$nexth) {} public function forma_miniLog($h,$hasMini) { function forma_sequencial($h,$nexth='') { function forma_deduce($h,$nexth='') { if( array_key_exists('formfield_pre_function',$this->campos[$fieldName]) && !empty($this->campos[$fieldName]['formfield_pre_function']) ) { $this->{$this->campos[$fieldName]['formfield_pre_function']}($h,$nexth); if( array_key_exists('form_field_postshow_function',$this->campos[$fieldName]) && !empty($this->campos[$fieldName]['form_field_postshow_function']) ) { $this->{$this->campos[$fieldName]['form_field_postshow_function']}($h,$nexth); if( array_key_exists('form_field_postshow_function',$this->campos[$fieldName]) && !empty($this->campos[$fieldName]['form_field_postshow_function']) ) { $this->{$this->campos[$fieldName]['form_field_postshow_function']}($h,$nexth); if( array_key_exists('form_field_postshow_function',$this->campos[$fieldName]) && !empty($this->campos[$fieldName]['form_field_postshow_function']) ) { $this->{$this->campos[$fieldName]['form_field_postshow_function']}($h,$nexth); if( array_key_exists('formfield_post_function',$this->campos[$fieldName]) && !empty($this->campos[$fieldName]['formfield_post_function']) ) { $this->{$this->campos[$fieldName]['formfield_post_function']}($h,$nexth); public function qbe_forma() { function miniLogField($fieldName,&$hasMini) { function miniLog() { function miniStats() { function miniLoginLog() { public function qbe_where() { public function qbe_resultados() { function listme_pre($grid) { return true; } function listme_preRender($grid) { return true; } function listme_postRender($grid) { } function listme($gridId='',$title='',$where='',$jsAfter='',$postData=array()) { function iajqgrid_actions($botonArray=array()) { //,'url'=>'js function/url','title'=>'glolbito' function toolbar_set($h=null,$imgPath=null,$extraParams=array() ) { function display_toolbar($h=null,$cambia=array()) { if(array_key_exists('function',$v)) { $v['function'](); function sin_permiso($h='') { function h_a_permiso($h='') { function may_add() { function may_insert() { function may_edit() { function may_update() { function may_delete() { function may_read() { function may_list() { function may_export() { function may_print() { function may_viewLog() { function permiso_por_record() { function permiso_por_tabla($h='',$section='',$enDB=null) { return; function permiso_por_campo($h='',$seccion='',$enDB=null) { return; function puedo_base($h=null,$id=null) { function puedo_campo($fieldName,$id=null,$h=null) { function title_tag($fieldName) { function label_tag($fieldName,$label=null,$prefijo='',$sufijo='',$atributes=array(),&$modo=null) { function label_field($fieldName,$label=null,$prefijo='',$sufijo='') { // field label function label_record() { function label_record_summary() { public function label_add() { public function label_list() { public function label_table_singular() { return $this->label; } public function label_table_plural() { function show($fieldName,$value=null,$editAtributes=array(),$displayAtributes=array(),&$modo=null) { function display($fieldName,$atributes=array(),$value=null,&$modo=null) { function display_link($fieldName,$value) { function display_set($fieldName,$value) { function display_file_list($fieldName,$atributes=array(),$value=null,&$modo=null) { function input_auto($fieldName,$atributes=array(),$value=null,&$modo=null,$oriValue=null,$forzaEdit=false) { function input_link_sql($fieldName,$sql=null,$value=null,$atributes=array(),$formato='link_one_select',&$modo=null,$doSet=true,$forzaEdit=false) { function input_link_array($fieldName,$array=array(),$value=null,$atributes=array(),$formato='link_one_select',&$modo=null,$doSet=true,$forzaEdit=false) { function radio_checkbox($array,$selected='',$atributes=array(),$separator='    ') { function input_date($fieldName,$value=null,$atributes=array(),&$modo=null,$doSet=true) { function input_date_mobiscroll($fieldName,$value=null,$atributes=array(),&$modo=null,$doSet=true) { function input_date_datepicker($fieldName,$value=null,$atributes=array(),&$modo=null,$doSet=true) { function input_datetime($fieldName,$value=null,$atributes=array(),&$modo=null,$doSet=true) { function input_date_alt($fieldName,$value=null,$atributes=array(),$doSet=true) { function date_max_min($fieldName,$value=null,$atributes=array(),&$min,&$max) { function input_anoMes($fieldName,$value=null,$atributes=array(),&$modo=null,$doSet=true) { function input_file($fieldName,$value=null,$atributes=array(),&$modo=null,$doSet=true) { function input_number($fieldName,$value=null,$atributes=array(),&$modo=null,$doSet=true) { function autonumeric_attribute($fieldName,$enteros=null,$decimales=null,$AllowNegatives=null,$min=null,$max=null) { function ori_field($fieldName,$oriValue=null,$name=null,&$modo=null) { function set_name_id_and_value($fieldName,&$value,&$atributes) { function atribute_set($atribute,$value,&$arr,$append=false,$separator=' ') { public function atribute_setIfNotExists($key,$value,&$atributes) { public function atribute_remove($atribute,&$atributes) { public function atribute_toString($atributes) { function campos_set_required($required,$forFields=array()) { function campos_set_attribute($fieldNames,$atribute,$value) { function campos_push_attribute($fieldNames,$subArray,$atribute,$value) { function campos_append_attribute($fieldNames,$atribute,$value,$sep=' ') { public function defaults_set(&$arr) { public function read_sql($id=null,$h=null) { public function list_sql($cols='') { public function insert_sql(&$log,$values=array()) { public function update_sql(&$log,$values=array(),$ori=array()) { function files_upload($id,&$sql,&$log) { public function file_extension_valid($file,$fieldName) { public function files_valid($file,$forUpload=true) { public function files_deduce_dir($fieldName,$id) { public function files_ensurePath($path,$basePath='') { public function files_ensuereDir($path) { public function campo_key($fieldName,$key,$dflt=null) { public function campo_atribute_val($fieldName,$key,&$atributes,$dflt=null,$unsetAttribute=false) { public function atribute_set_from_campo($fieldName,$key,&$atributes) { function child_tables_default() { function child_table_get($table,&$table_id,&$parent_id,&$parent_link,&$child_pk,&$orderBy,&$tag,&$child,&$class) { function child_table_save_all(&$sql,&$log) { function child_table_save($table,&$sql,&$log,$table_id=null,$parent_id=null,$parent_link=null,$named=null) { function child_table_jqgrid($table,$orderBy,$gridId=null,$forzaUpdate=null,$forzaDelete=null,$forzaAdd=null,$editURL=null,$extraButtonActions=null) { function child_listme_preRender($grid) { function child_listme_postRender($grid) { function child_table_addonly($class,$gridVar) { function child_table_edit($table,$conTitle,$childDef,$tag=array(),$miniLog=false,$orderBy='',$table_id=null,$parent_id=null,$parent_link=null \$(document).ready(function(){\$('#add_$table_id').addanother( '#$table_id', {minRows:$minRows,maxRows:$maxRows,deletelink:'d$table_id'} );}); function child_table_list($table,$conTitle=true,$tag=array(),$miniLog=false,$orderBy='',$table_id=null,$parent_id=null,$parent_link=null,$blankOnEmpty=false) { public function exporta_listado_csv($conPK=false,$whereOrderBy='',$sql=null) { function campos_reorder($newOrder) { function simulated_fields(&$camposNew,$sql) {