/** */ public function renderActive($renderer, $vars, $action, $method) { parent::renderActive($renderer, $vars, $action, $method); if ($this->_contact->isGroup()) { $edit_url = Horde::url('browse.php')->add(array('key' => $this->_contact->getValue('__key'), 'source' => $this->_contact->getSource())); echo '<div class="editGroupMembers">' . Horde::link($edit_url) . '<span class="iconImg groupImg"></span>' . _("Edit/View Contact List Members") . '</a>' . '</div>'; } }
/** * Inserts a new object into the list. * * @param Turba_Object $object The object to insert. */ public function insert(Turba_Object $object) { if ($object instanceof Turba_Object) { $key = $object->getSource() . ':' . $object->getValue('__key'); if (!isset($this->objects[$key])) { $this->objects[$key] = $object; } } }