Пример #1
0
 protected function doc_context($file_name, $name = 'doc')
 {
     $context = new \Context(\Helpers\Page::page_context()->stack());
     $context->insert_before('handler', $this->doc_metadata($file_name), $name);
     return $context;
 }
Пример #2
0
function get_relative($id = 0)
{
    return Page::relative($id);
}