File modules/cms/model/Script.class.php

Last commit: Sun Jan 29 00:20:21 2023 +0100	Jan Dankert	New node type "Script".
1 <?php 2 namespace cms\model; 3 // OpenRat Content Management System 4 // Copyright (C) 2002-2012 Jan Dankert, cms@jandankert.de 5 // 6 // This program is free software; you can redistribute it and/or 7 // modify it under the terms of the GNU General Public License 8 // as published by the Free Software Foundation; either version 2 9 // of the License, or (at your option) any later version. 10 // 11 // This program is distributed in the hope that it will be useful, 12 // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 // GNU General Public License for more details. 15 // 16 // You should have received a copy of the GNU General Public License 17 // along with this program; if not, write to the Free Software 18 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 20 21 /** 22 * Script. 23 * 24 * @author Jan Dankert 25 */ 26 class Script extends File 27 { 28 /** 29 * Konstruktor 30 * 31 * @param string $objectid 32 */ 33 public function __construct( $objectid='' ) 34 { 35 parent::__construct( $objectid ); 36 37 $this->isScript = true; 38 $this->isFile = false; // must overwrite from base class constructor. 39 $this->typeid = BaseObject::TYPEID_SCRIPT; 40 } 41 }
Download modules/cms/model/Script.class.php
History Sun, 29 Jan 2023 00:20:21 +0100 Jan Dankert New node type "Script".