openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit affd2e820abb5634ea33073de0fb63c3b7a78e86
parent 0e8041ae8260f889e3e8fb9457771e912339f5ab
Author: Jan Dankert <devnull@localhost>
Date:   Fri, 11 Jul 2014 01:33:15 +0200

Methode zum Ermitteln der aktuellen Seite.

Diffstat:
util/Macro.class.php | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/util/Macro.class.php b/util/Macro.class.php @@ -64,6 +64,16 @@ class Macro /** + * Holt die aktuelle Seite. + * @return Seite + */ + public function getPage() + { + return new Page( $this->objectid ); + } + + + /** * Holt das aktuelle Objekt. * @return Object */