@@ 395-410 (lines=16) @@ | ||
392 | /** |
|
393 | * @return string |
|
394 | */ |
|
395 | public function getEditUrl($rfrom, $ide = null) |
|
396 | { |
|
397 | $url = absences_addon()->getUrl()."vacuser&idx=cet&id=".$this->id; |
|
398 | ||
399 | if (isset($rfrom)) |
|
400 | { |
|
401 | $url .= '&rfrom='.$rfrom; |
|
402 | } |
|
403 | ||
404 | if (isset($ide)) |
|
405 | { |
|
406 | $url .= '&ide='.$ide; |
|
407 | } |
|
408 | ||
409 | return $url; |
|
410 | } |
|
411 | ||
412 | ||
413 | public function getManagerFrame() |
@@ 500-515 (lines=16) @@ | ||
497 | /** |
|
498 | * @return string |
|
499 | */ |
|
500 | public function getEditUrl($rfrom, $ide = null) |
|
501 | { |
|
502 | $url = absences_addon()->getUrl()."vacuser&idx=workperiod&id=".$this->id; |
|
503 | ||
504 | if (isset($rfrom)) |
|
505 | { |
|
506 | $url .= '&rfrom='.$rfrom; |
|
507 | } |
|
508 | ||
509 | if (isset($ide)) |
|
510 | { |
|
511 | $url .= '&ide='.$ide; |
|
512 | } |
|
513 | ||
514 | return $url; |
|
515 | } |
|
516 | ||
517 | ||
518 |