[Tickets #8683] getLink(): build $editurl and $delurl from getViewUrl (..)

View: New views
2 Messages — Rating Filter:   Alert me  

[Tickets #8683] getLink(): build $editurl and $delurl from getViewUrl (..)

by bugs-14 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8683
------------------------------------------------------------------------------
  Ticket             | 8683
  Created By         | patrick.abiven@...
  Summary            | getLink(): build $editurl and $delurl from getViewUrl
                     | (..)
  Queue              | Kronolith
  Version            | FRAMEWORK_3
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


patrick.abiven@... (2009-11-06 09:46) wrote:

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->getViewUrl (...)
...
$editurl = Util::addParameter($viewurl, array('view' => 'EditEvent'));
$delurl = Util::addParameter($viewurl, array('view' => 'DeleteEvent'));

Regards
Patrick








--
You are subscribed to this list as: lists@...
To unsubscribe, mail: bugs-unsubscribe@...

[Tickets #8683] Re: getLink(): build $editurl and $delurl from getViewUrl (..)

by bugs-14 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8683
------------------------------------------------------------------------------
  Ticket             | 8683
  Updated By         | Jan Schneider <jan@...>
  Summary            | getLink(): build $editurl and $delurl from getViewUrl
                     | (..)
  Queue              | Kronolith
  Version            | FRAMEWORK_3
  Type               | Enhancement
-State              | New
+State              | Resolved
  Priority           | 1. Low
-Milestone          |
+Milestone          | 2.3.3
  Patch              |
-Owners             |
+Owners             | Jan Schneider
------------------------------------------------------------------------------




--
You are subscribed to this list as: lists@...
To unsubscribe, mail: bugs-unsubscribe@...