public static function get($sector_path) { $r = RenderingStack::peek(); if ($r->is_set($sector_path)) { return $r->get($sector_path); } else { throw new IllegalStateException("Il settore " . $sector_path . " non e' stata definita."); } }
function render_path_result($path) { return render_result(RenderingStack::peek()->get($path)); }