public function renderMenuItem() { $parentMenuItem = parent::renderMenuItem(); $itemOptions = array('itemOptions' => array('id' => get_class($this))); $content = CMap::mergeArray($parentMenuItem, $itemOptions); return $content; }
/** * todo: potentially can push this farther back to give everylink a namespace. this would force off on ajax refreshes * @return array */ protected function getHtmlOptions() { return array_merge(array('namespace' => 'modalLink', 'class' => 'task-kanban-detail-link'), parent::getHtmlOptions()); }