Esempio n. 1
0
    protected function _initialize(KConfig $config)
    {
        $config->append(array(
            'model' => 'documents',
            'view'  => 'download'
        ));

        parent::_initialize($config);
    }
Esempio n. 2
0
    protected function _initialize(KObjectConfig $config)
    {
        $config->append(array(
            'behaviors' => array('redirectable', 'previewable'),
            'model' => 'documents',
            'view'  => 'download'
        ));

        parent::_initialize($config);
    }