TreeAction.class.php (1583B)
1 <?php 2 3 namespace cms\ui\action; 4 5 use cms\action\Action; 6 use cms\action\BaseAction; 7 use cms\action\RequestParams; 8 use cms\model\BaseObject; 9 use cms\model\Element; 10 use cms\model\Folder; 11 use cms\model\Group; 12 use cms\model\ModelFactory; 13 use cms\model\Page; 14 use cms\model\Project; 15 use cms\model\Template; 16 use cms\model\User; 17 use cms\model\Value; 18 use util\json\JSON; 19 use util\Tree; 20 use cms\model\Language; 21 use cms\model\Model; 22 23 use util\Session; 24 25 // OpenRat Content Management System 26 // Copyright (C) 2002 Jan Dankert, jandankert@jandankert.de 27 // 28 // This program is free software; you can redistribute it and/or 29 // modify it under the terms of the GNU General Public License 30 // as published by the Free Software Foundation; either version 2 31 // of the License, or (at your option) any later version. 32 // 33 // This program is distributed in the hope that it will be useful, 34 // but WITHOUT ANY WARRANTY; without even the implied warranty of 35 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 36 // GNU General Public License for more details. 37 // 38 // You should have received a copy of the GNU General Public License 39 // along with this program; if not, write to the Free Software 40 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 41 42 /** 43 * Action-Klasse zum Laden/Anzeigen des Navigations-Baumes 44 * @author $Author$ 45 * @version $Revision$ 46 * @package openrat.actions 47 */ 48 49 class TreeAction extends BaseAction 50 { 51 public function __construct() 52 { 53 parent::__construct(); 54 } 55 56 57 public function checkAccess() { 58 return true; // Allowed for all 59 } 60 61 }