Ejemplo 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");
 }
Ejemplo 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");
 }
Ejemplo n.º 3
0
Archivo: Ban.php Proyecto: bchhun/bzion
 /**
  * {@inheritDoc}
  */
 protected function assignLazyResult($result)
 {
     $this->ipAddresses = parent::fetchIds("WHERE ban_id = ?", 'i', array($this->getId()), "banned_ips", "ip_address");
 }