protected function _objectConfig(KObjectConfig $config) { $metadata = $this->getMetadata(); $url = sprintf('option=com_jevents&task=icalrepeat.edit&cid[]=%d&evid=%d', $this->row, $metadata->event->id); $config->append(array('type' => array('url' => array('admin' => $url), 'find' => 'object'), 'subtype' => array('objectName' => 'event', 'object' => true))); parent::_objectConfig($config); }
protected function _actionConfig(KObjectConfig $config) { if ($this->verb == 'add') { $config->append(array('objectName' => 'added')); } parent::_actionConfig($config); }
protected function _objectConfig(KObjectConfig $config) { $config->append(array('url' => array('admin' => 'option=com_jevents&task=icalevent.edit&cid[]=' . $this->row), 'subtype' => array('object' => true, 'objectName' => 'JEvents'))); parent::_objectConfig($config); }
protected function _objectConfig(KObjectConfig $config) { $url = 'option=com_' . $this->package . '&view=' . $this->name . '&task=edit&c=comment&commentid=' . $this->row; $config->append(array('id' => $this->row, 'objectName' => $this->title, 'subtype' => array('objectName' => 'Komento', 'object' => true), 'type' => array('url' => array('admin' => $url), 'find' => 'object'))); parent::_objectConfig($config); }