예제 #1
0
파일: Query.php 프로젝트: rob-st/Runalyze
 /**
  * Query to select active keys
  * Hint: You must use "... FROM `'.PREFIX.'training` AS `t` ..."
  * @return string
  */
 public function queryToSelectActiveKeys()
 {
     return $this->queryToSelectKeys($this->collectColumnsForKeys($this->Configuration->activeKeys()));
 }
예제 #2
0
파일: Table.php 프로젝트: guancio/Runalyze
 /**
  * @param \Runalyze\Dataset\Configuration $configuration
  */
 public function __construct(Configuration $configuration)
 {
     $this->Configuration = $configuration;
     $this->ActiveKeys = $this->Configuration->activeKeys();
     Keys::keepInstances();
 }