예제 #1
0
파일: Project.php 프로젝트: besters/My-Base
 /**
  * Zjisti ID vedouciho projektu
  *
  * @param in $idproject id projektu
  * @return string
  */
 public function getLeader($idproject)
 {
     $leader = $this->_dbTable->getRow($idproject, array('iduser'));
     return $leader['iduser'];
 }
예제 #2
0
파일: Account.php 프로젝트: besters/My-Base
 /**
  * Zjistuje ID a nazev uctu z DB
  *
  * @param string $account Ucet
  * @return int
  */
 private function getData($account)
 {
     $where = array('url' => $account);
     $data = $this->_dbTable->getRow($where, array('idaccount', 'name'));
     return $data;
 }