public function loadModelFromText($text)
    {
        $cfg = Config::newConfigFromText($text);

        $this->loadSection($cfg, 'r');
        $this->loadSection($cfg, 'p');
        $this->loadSection($cfg, 'e');
        $this->loadSection($cfg, 'm');

        $this->loadSection($cfg, 'g');
    }
public function loadModelFromText($text)
    {
        $cfg = Config::newConfigFromText($text);

        $this->loadSection($cfg, 'r');
        $this->loadSection($cfg, 'p');
        $this->loadSection($cfg, 'e');
        $this->loadSection($cfg, 'm');

        $this->loadSection($cfg, 'g');
    }
public function loadModelFromText ( $ text ) { $ cfg = Config :: newConfigFromText ( $ text ) ; $ this -> loadSection ( $ cfg , 'r' ) ; $ this -> loadSection ( $ cfg , 'p' ) ; $ this -> loadSection ( $ cfg , 'e' ) ; $ this -> loadSection ( $ cfg , 'm' ) ; $ this -> loadSection ( $ cfg , 'g' ) ; }
loads the model from the text.

@param string $text
loads the model from the text .