original_string: public function init()
      {
          $this->getLogger();
  
          // Verify Licensing
          //$this->licenseCheck('atk4');
  
          // send headers, no caching
          $this->sendHeaders();
  
          $this->cleanMagicQuotes();
  
          parent::init();
  
          // in addition to default initialization, set up logger and template
          $this->initializeTemplate();
  
          if (get_class($this) == 'App_Web') {
              $this->setConfig(array('url_postfix' => '.php', 'url_prefix' => ''));
          }
      }
code: public function init()
      {
          $this->getLogger();
  
          // Verify Licensing
          //$this->licenseCheck('atk4');
  
          // send headers, no caching
          $this->sendHeaders();
  
          $this->cleanMagicQuotes();
  
          parent::init();
  
          // in addition to default initialization, set up logger and template
          $this->initializeTemplate();
  
          if (get_class($this) == 'App_Web') {
              $this->setConfig(array('url_postfix' => '.php', 'url_prefix' => ''));
          }
      }
code_tokens: public function init ( ) { $ this -> getLogger ( ) ; // Verify Licensing //$this->licenseCheck('atk4'); // send headers, no caching $ this -> sendHeaders ( ) ; $ this -> cleanMagicQuotes ( ) ; parent :: init ( ) ; // in addition to default initialization, set up logger and template $ this -> initializeTemplate ( ) ; if ( get_class ( $ this ) == 'App_Web' ) { $ this -> setConfig ( array ( 'url_postfix' => '.php' , 'url_prefix' => '' ) ) ; } }
docstring: Redefine this function instead of default constructor.
docstring_tokens: Redefine this function instead of default constructor .