This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation
 1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 
<?php
defined('C5_EXECUTE') or die("Access Denied.");
Loader::model('collection_types');

class Concrete5_Controller_Dashboard_Composer_Drafts extends Controller {

    public function on_start() {
        $this->set('disableThirdLevelNav', true);
        $this->set('drafts', ComposerPage::getMyDrafts());
    }
    
    public function draft_discarded() {
        $this->set('message', t('Draft deleted.'));
    }
    
}