public function getOwnedChannels() { $first = array($this->getMainChannel()); $others = UserChannel::all(array('conditions' => array('admins_ids LIKE ? AND name != ?', '%;' . $this->id . ';%', $this->username), 'order' => 'id desc')); return array_merge($first, $others); }