Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
playground:playground [2021/12/17 17:26]
denis716 удалено
— (текущий)
Строка 1: Строка 1:
-====== PlayGround ====== 
-<code php> 
-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(); 
-        } 
- 
-    } 
-</code> 
- 
-<note> 
-This is my note ! Remember it!! 
-</note> 
- 
-<note important> 
-Warning ! You're about to lose your mind ;-) 
-</note> 
- 
-<note tip> 
-The clues are in the images. 
-</note> 
- 
-<note warning> 
-Beware of the cat when you open the door !! 
-</note> 
- 
-<WRAP todo> 
-"big" content 
-</WRAP> 
- 
-<wrap hi>fdfadsfasd</wrap> 
- 
-<WRAP tabs> 
-* [[somepage]] 
-</WRAP> 
- 
-<alert type="success" icon="glyphicon glyphicon-user" dismiss="false"> 
-**Well done!** You successfully read this important alert message. 
-</alert>