@@ 429-437 (lines=9) @@ | ||
426 | /** |
|
427 | * @return absences_RightRule |
|
428 | */ |
|
429 | public function getRightRule() |
|
430 | { |
|
431 | if (!isset($this->right_rule)) |
|
432 | { |
|
433 | require_once dirname(__FILE__).'/right_rule.class.php'; |
|
434 | $this->right_rule = absences_RightRule::getFromRight($this->id); |
|
435 | } |
|
436 | return $this->right_rule; |
|
437 | } |
|
438 | ||
439 | ||
440 | ||
@@ 455-463 (lines=9) @@ | ||
452 | /** |
|
453 | * @return absences_RightCet |
|
454 | */ |
|
455 | public function getRightCet() |
|
456 | { |
|
457 | if (!isset($this->right_cet)) |
|
458 | { |
|
459 | require_once dirname(__FILE__).'/right_cet.class.php'; |
|
460 | $this->right_cet = absences_RightCet::getFromRight($this->id); |
|
461 | } |
|
462 | return $this->right_cet; |
|
463 | } |
|
464 | ||
465 | ||
466 |