public function __construct(KObjectConfig $config) { parent::__construct($config); $this->addCommandCallback('after.save', '_setRedirect'); $this->addCommandCallback('after.apply', '_setRedirect'); $this->addCommandCallback('after.cancel', '_setRedirect'); }
public function __construct(KObjectConfig $config) { parent::__construct($config); $this->addCommandCallback('after.save2new', '_setRedirect'); $this->addCommandCallback('after.read', '_setDefaults'); }
public function __construct(KObjectConfig $config) { parent::__construct($config); $this->addCommandCallback('before.add', '_uploadFile'); $this->addCommandCallback('after.add' , '_cleanUp'); }
public function __construct(KObjectConfig $config) { parent::__construct($config); $this->addCommandCallback('after.save', '_setRedirect'); $this->addCommandCallback('after.apply', '_setRedirect'); $this->addCommandCallback('after.cancel', '_setRedirect'); $this->addCommandCallback('before.render', '_checkThumbnailsSupport'); }
public function __construct(KObjectConfig $config) { parent::__construct($config); $this->addCommandCallback('after.save' , '_setStatusMessage'); $this->addCommandCallback('after.delete', '_setStatusMessage'); $this->addCommandCallback('before.add' , '_checkSubmittedFolder'); $this->addCommandCallback('before.edit' , '_checkSubmittedFolder'); $this->addCommandCallback('after.read' , '_populateCategory'); $this->addCommandCallback('before.render', '_checkDownloadLink'); }
public function __construct(KObjectConfig $config) { parent::__construct($config); if ($this->isDispatched()) { $this->addBehavior('com://site/docman.controller.behavior.filterable', array( 'vars' => array( 'category', 'created_by', 'sort' ) )); } }
public function __construct(KObjectConfig $config) { parent::__construct($config); $this->addCommandCallback('before.delete', '_checkDocumentCount'); }
public function __construct(KObjectConfig $config) { parent::__construct($config); $this->addCommandCallback('before.render', '_setState'); $this->addCommandCallback('before.add', '_setEntity'); }