Это старая версия документа!


PlayGround

public function _execute(array $params)
    {
        var_dump($params);
 
        $this->set_options($params);
 
        if(!$this->_options['parser'])
            throw new \Exception('Excepted parser. Try --parser=Vangold');
 
        $class_name= 'Codeclass\\parser\\lib\\parsers\\'.$this->_options['parser'].'Parser';
 
        $p=new $class_name($this->_options['session']);
 
        $p->parse=$this->_options['parse'];
        $p->iterate=$this->_options['iterate'];
        $p->close=$this->_options['close'];
        $p->export=$this->_options['export'];
        $p->items=$this->_options['items'];
 
        try{
            $r=$p->Run();
        }
        catch(Exception $e){
            echo $e->getMessage();
            echo "\n";
            echo $e->getTraceAsString();
        }
 
    }
This is my note ! Remember it!!
Warning ! You're about to lose your mind ;-)
The clues are in the images.
Beware of the cat when you open the door !!

«big» content

fdfadsfasd