1. Question:What are parse functions? 

    Answer
    Usually parse functions convert the data from one type into another type. Example: string to number, number to string.






    1. Report
  2. Question:What are debug functions? 

    Answer
    We should add in a debug function for ease of use. When  the  debug  function  is called , we want  to  echo  out  the  URL  of  the  last  API  call , and  the  HTTP  Status  Code.






    1. Report
  3. Question:Define hooks in term of codeigniter? 

    Answer

    A CodeIgniter hooks feature provides a means to tap into and modify the inner workings of the Codeigniter framework without hacking the core files. The hooks features can be globally enabled/disabled by—

                                    $config [‘enable hooks’] =TRUE;







    1. Report
  4. Question:What is thumbnail? 

    Answer

    The thumbnail function will simply resize the original image to smaller so that the browsers are capable to load it fast as an icon.

    $this->image_lib->resize();







    1. Report
  5. Question:Why we use _remap() ? 

    Answer

    If controller contains a function named _remap(), it will always get called regardless of what URI contains. It overrides the normal behavior in which the URI determines which function is called, allowing us to define our own function routing rules.







    1. Report
Copyright © 2025. Powered by Intellect Software Ltd