Esempio n. 1
0
 /**
  * Get a list containing the IDs of each member team of the conversation
  *
  * @return int[] An array of team IDs
  */
 public function getTeamIds()
 {
     return parent::fetchIds("WHERE `conversation` = ?", "i", $this->id, "team_conversations", "team");
 }
Esempio n. 2
0
 /**
  * Get a list containing the IDs of each member team of the group
  *
  * @return integer[] An array of team IDs
  */
 public function getTeamIds()
 {
     return parent::fetchIds("WHERE `group` = ?", "i", $this->id, "team_groups", "team");
 }
Esempio n. 3
0
File: Ban.php Progetto: bchhun/bzion
 /**
  * {@inheritDoc}
  */
 protected function assignLazyResult($result)
 {
     $this->ipAddresses = parent::fetchIds("WHERE ban_id = ?", 'i', array($this->getId()), "banned_ips", "ip_address");
 }