コード例 #1
0
ファイル: default.php プロジェクト: gwtrains/comRTiPrint
 function __construct($args)
 {
     parent::__construct($args);
     $this->togglable = $this->togglable ? empty($this->dataValue) : null;
     $ctrl = $this->ctrl ? $this->ctrl . '.' : '';
     $this->task = $this->togglable ? $ctrl . 'default' : null;
 }
コード例 #2
0
ファイル: publish.php プロジェクト: gwtrains/comRTiPrint
 function __construct($args)
 {
     parent::__construct($args);
     if ($this->togglable) {
         $ctrl = $this->ctrl ? $this->ctrl . '.' : '';
         $this->task = $ctrl . (empty($this->dataValue) ? 'publish' : 'unpublish');
     }
 }
コード例 #3
0
ファイル: bool.php プロジェクト: gwtrains/comRTiPrint
 function __construct($args)
 {
     parent::__construct($args);
 }