| | |
| | | |
| | | |
| | | |
| | | //** private functions ----------------------------------------------------------------------------------- |
| | | //** protected functions ----------------------------------------------------------------------------------- |
| | | |
| | | |
| | | |
| | | |
| | | private function klientadd($formdef_file, $reseller_id, $params) |
| | | protected function klientadd($formdef_file, $reseller_id, $params) |
| | | { |
| | | global $app, $tform, $remoting_lib; |
| | | $app->uses('remoting_lib'); |
| | |
| | | return $insert_id; |
| | | } |
| | | |
| | | private function insertQuery($formdef_file, $client_id, $params,$event_identifier = '') |
| | | protected function insertQuery($formdef_file, $client_id, $params,$event_identifier = '') |
| | | { |
| | | global $app, $tform, $remoting_lib; |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | private function updateQuery($formdef_file, $client_id, $primary_id, $params, $event_identifier = '') |
| | | protected function updateQuery($formdef_file, $client_id, $primary_id, $params, $event_identifier = '') |
| | | { |
| | | global $app; |
| | | |
| | |
| | | return $affected_rows; |
| | | } |
| | | |
| | | private function deleteQuery($formdef_file, $primary_id, $event_identifier = '') |
| | | protected function deleteQuery($formdef_file, $primary_id, $event_identifier = '') |
| | | { |
| | | global $app; |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | private function checkPerm($session_id, $function_name) |
| | | protected function checkPerm($session_id, $function_name) |
| | | { |
| | | $dobre=array(); |
| | | $session = $this->getSession($session_id); |
| | |
| | | } |
| | | |
| | | |
| | | private function getSession($session_id) |
| | | protected function getSession($session_id) |
| | | { |
| | | global $app; |
| | | |