Exemplo n.º 1
0
 function get_resource($data)
 {
     return so_output::missed("Missed handler for [{$this->uri}]");
 }
Exemplo n.º 2
0
 function get_resource($data = null)
 {
     $output = $this->exists ? so_output::ok() : so_output::missed();
     $output->content = array('@so_page_uri' => (string) $this->uri, '@so_page_title' => (string) $this->name, $this->link);
     return $output;
 }