public function getEditLink($id) { if ($this->checkout($id)) { if (JalangHelper::isJoomla32()) { return 'index.php?option=com_newsfeeds&view=newsfeed&layout=modal&tmpl=component&id=' . $id; } else { return 'index.php?option=com_newsfeeds&view=newsfeed&layout=edit&id=' . $id; } } return false; }
public function getEditLink($id) { if ($this->checkout($id)) { $row = $this->getRow($id); if (JalangHelper::isJoomla32()) { return 'index.php?option=com_categories&view=category&layout=modal&tmpl=component&id=' . $id . '&extension=' . $row->extension; } else { return 'index.php?option=com_categories&view=category&layout=edit&id=' . $id . '&extension=' . $row->extension; } } return false; }