Пример #1
0
 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.");
     }
 }
Пример #2
0
function render_path_result($path)
{
    return render_result(RenderingStack::peek()->get($path));
}