CodeIgniter Forums
Code not understanding in Codeigniter in Perfex CRM - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Code not understanding in Codeigniter in Perfex CRM (/showthread.php?tid=81696)



Code not understanding in Codeigniter in Perfex CRM - hasanhatem - 04-11-2022

Hello Guys,

Please i have this function in Perfex CRM System

PHP Code:
public function table()
    {
        if (!is_staff_member()) {
            ajax_access_denied();
        }
        $this->app->get_table_data('leads');
    


Any one can tell me what this mean:

PHP Code:
$this->app->get_table_data('leads'); 


and where can i find get_table_data('leads'); ???

Thanks


RE: Code not understanding in Codeigniter in Perfex CRM - php_rocs - 04-12-2022

@hasanhatem ,

Have you tried contacting the developer of the CRM? With just a quick scan I would think that this is a model/database call to pull data from the database table leads..


RE: Code not understanding in Codeigniter in Perfex CRM - melvinheld - 04-17-2022

Thanks! It was a lot of work!