Controller_Samples::action_override PHP Метод

action_override() публичный Метод

public action_override ( )
    public function action_override()
    {
        // Create the content
        $content = array(new View('override'), new View('override-column'));
        // Call Kohanut
        $this->request->response = Kohanut::override('Two Column', 'samples/override', $content);
        // You can manually set the title, and meta data here.
        Kohanut::$page->title = "Sample - Override";
        Kohanut::$page->metadesc = "Description";
    }
Controller_Samples