예제 #1
0
파일: TmuxOutput.php 프로젝트: Jay204/nZEDb
 /**
  * @param Settings $pdo
  */
 public function __construct(Settings $pdo = null)
 {
     parent::__construct($pdo);
     $this->_git = new \nzedb\utility\Git();
     $this->_vers = \nzedb\utility\Utility::getValidVersionsFile();
     $this->_setColourMasks();
 }
예제 #2
0
 /**
  * @param newznab\db\Settings $pdo
  */
 public function __construct(Settings $pdo = null)
 {
     parent::__construct($pdo);
     $this->_git = new \newznab\utility\Git();
     // Do not remove the full namespace/ PHP gets confused for some reason without it.
     $this->_vers = Utility::getValidVersionsFile();
     $this->_setColourMasks();
 }
예제 #3
0
 /**
  * @param newznab\db\Settings $pdo
  */
 public function __construct(Settings $pdo = null)
 {
     parent::__construct($pdo);
     $this->_dateFormat = '%Y-%m-%d %T';
 }
예제 #4
0
파일: TmuxRun.php 프로젝트: Jay204/nZEDb
 /**
  * @param Settings $pdo
  */
 public function __construct(Settings $pdo = null)
 {
     parent::__construct($pdo);
     $dateFormat = $this->pdo->getSetting(['section' => 'shell', 'subsection' => 'date', 'name' => 'format']);
     $this->_dateFormat = empty($dateFormat) ? '%Y-%m-%d %T' : $dateFormat;
 }