function render(array $meta = null) { response::buffer(true); view::set('meta',$meta); view::set('key',$this->getKey()); view::set('value',$this->getKey()); view::embed($this->view); $ret = response::getBuffer(); response::buffer(false); return $ret; }
function includeView($view) { view::embed($view); // include(base::appPath().'/views/'.$view); }