Maintenance::__construct PHP Method

__construct() public method

public __construct ( )
    public function __construct()
    {
        parent::__construct();
        //  calls the constructor
        $this->load->model('Maintenance_model');
        $this->lang->load('maintenance');
    }

Usage Example

Example #1
0
 public function __construct()
 {
     parent::__construct();
     $this->mDescription = "Flag videos which are deleted on provider, private, or have some form of error returned from API";
     $this->addOption('test', 'Test mode; make no changes', false, false, 't');
     $this->addOption('verbose', 'Show extra debugging output', false, false, 'v');
 }
All Usage Examples Of Maintenance::__construct