コード例 #1
0
ファイル: ShowChannelsAction.php プロジェクト: daddyz/PAMI
 public function __construct()
 {
     parent::__construct('Command');
     $command = 'core show channels concise';
     $this->setKey('Action', 'Command');
     $this->setKey('Command', $command);
 }
コード例 #2
0
ファイル: DBShowAction.php プロジェクト: daddyz/PAMI
 public function __construct($db)
 {
     parent::__construct('Command');
     $this->_param = $db;
     $command = 'database show';
     if (!empty($db)) {
         $command .= ' ' . str_replace(' ', '/', $db);
     }
     $this->setKey('Action', 'Command');
     $this->setKey('Command', $command);
 }