openrat-cms

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

commit ea08e8f3c59d519cd70881f25ad5e54a64d30ad0
parent 50ad783b8343109174e4a7b8ddc14fe910719798
Author: Jan Dankert <devnull@localhost>
Date:   Tue, 25 Sep 2018 00:17:33 +0200

Methode #getAllObjectIds ist umgezogen nach Project.class

Diffstat:
modules/cms-core/action/PageelementAction.class.php | 12+++++-------
1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/modules/cms-core/action/PageelementAction.class.php b/modules/cms-core/action/PageelementAction.class.php @@ -44,19 +44,17 @@ use ValidationException; class PageelementAction extends Action { public $security = SECURITY_USER; - - var $defaultSubAction = 'edit'; /** * Enthaelt das Seitenobjekt - * @type BaseObject + * @type Page */ var $page; /** * Enthaelt das Elementobjekt - * @type BaseObject + * @type Element */ var $element; @@ -64,7 +62,7 @@ class PageelementAction extends Action /** * Enth´┐Żlt den Inhalt * - * @var BaseObject + * @var Value */ var $value; @@ -645,7 +643,7 @@ class PageelementAction extends Action $folder->load(); //Auch Dateien dazu - foreach( $folder->getAllObjectIds($types) as $id ) + foreach( $project->getAllObjectIds($types) as $id ) { $f = new Folder( $id ); $f->load(); @@ -654,7 +652,7 @@ class PageelementAction extends Action $objects[ $id ] .= implode( ' &raquo; ',$f->parentObjectNames(false,true) ); } - foreach( $folder->getAllFolders() as $id ) + foreach( $project->getAllFolders() as $id ) { $f = new Folder( $id ); $f->load();