| | |
| | | private $pagingValues; |
| | | private $searchChanged = 0; |
| | | private $module; |
| | | private $dateformat = 'd.m.Y'; |
| | | private $dateformat = 'Y-m-d H:i'; |
| | | public $wordbook; |
| | | |
| | | public function loadListDef($file, $module = '') |
| | |
| | | } |
| | | |
| | | //* Set local Language File |
| | | $lng_file = ISPC_WEB_PATH.'/lang/lib/lang/'.$_SESSION['s']['language'].'_list.lng'; |
| | | if(!file_exists($lng_file)) $lng_file = ISPC_WEB_PATH.'/lang/lib/lang/en_'.'_list.lng'; |
| | | include($lng_file); |
| | | $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_'.$this->listDef['name'].'_list.lng'; |
| | | if(!file_exists($lng_file)) $lng_file = 'lib/lang/en_'.$this->listDef['name'].'_list.lng'; |
| | | include($lng_file); |
| | |
| | | $record = array(); |
| | | $values = $app->$datasource_class->$datasource_function($field, $record); |
| | | } else { |
| | | $this->errorMessage .= "Custom datasource class or function is empty<br>\r\n"; |
| | | $this->errorMessage .= "Custom datasource class or function is empty<br />\r\n"; |
| | | } |
| | | } |
| | | return $values; |