remove() public method

Removes one ore more parameters.
public remove ( $parameters ) : Horde_Url
return Horde_Url This (modified) object, to allow chaining.
Esempio n. 1
0
<p><font size="4"><strong><a href="<?php 
$url = new Horde_Url($this->task->view_link);
echo $url->remove(session_name());
?>
"><?php 
echo $this->h($this->task->name);
?>
</a></strong></font></p>

<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>
  <td width="140" valign="top">
    <img src="cid:<?php 
echo $this->imageId;
?>
" />
  </td>
  <td valign="top">
    <table width="100%" border="0" cellpadding="5" cellspacing="0">
      <?php 
$i = 0;
?>

      <tr<?php 
if ($i++ % 2) {
    echo ' bgcolor="#f1f1f1"';
}
?>
>
        <td nowrap="nowrap" align="right">
          <font size="2"><strong><?php 
echo _("Date and time:");
Esempio n. 2
0
 public function testRemoveChaining()
 {
     $url = new Horde_Url('test?foo=1&bar=2');
     $this->assertEquals('test', (string) $url->remove('foo')->remove('bar'));
 }