<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>getLink(): build $editurl and $delurl from getViewUrl (..)</title> 
  <pubDate>Fri, 10 Apr 2026 09:35:39 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8683</link> 
  <atom:link rel="self" type="application/rss+xml" title="getLink(): build $editurl and $delurl from getViewUrl (..)" href="https://bugs.horde.org/ticket/8683/rss" /> 
  <description>getLink(): build $editurl and $delurl from getViewUrl (..)</description> 
 
   
   
  <item> 
   <title>Hello
In lib/Driver.php, function getLink(), it seems possi</title> 
   <description>Hello
In lib/Driver.php, function getLink(), it seems possible to optimize the event link generation. Instead of calling getViewUrl and then getEditUrl and getDeleteUrl, we can build the $editurl and $delurl from the getViewUrl() result.

$viewurl = $this-&gt;getViewUrl (...)
...
$editurl = Util::addParameter($viewurl, array(&#039;view&#039; =&gt; &#039;EditEvent&#039;));
$delurl = Util::addParameter($viewurl, array(&#039;view&#039; =&gt; &#039;DeleteEvent&#039;));

Regards
Patrick
 

</description> 
   <pubDate>Fri, 06 Nov 2009 14:46:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8683#t56542</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
