[PHPVortex-Commit] phpvortex SEC_Include.class.php,NONE,1.1
Brought to you by:
nop144666
From: Thiago R. <nop...@us...> - 2004-10-13 18:09:25
|
Update of /cvsroot/phpvortex/phpvortex In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12414 Added Files: SEC_Include.class.php Log Message: Added SEC_Include class --- NEW FILE: SEC_Include.class.php --- <?php /** * File for class SEC_Include. * * @package Vortex * @subpackage Page * @author Thiago Ramon Gonçalves Montoya * @copyright Copyright 2004, Thiago Ramon Gonçalves Montoya * @license http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License */ /** Require the base class */ require_once('SEC_Base.class.php'); /** * Class for include() sections. * * @package Vortex * @subpackage Page */ class SEC_Include extends SEC_Base { /** * File to include. * @var string */ var $include; /** * Outputs the section to the client. */ function Show() { if (!is_null($this->include) && strcmp(trim($this->include), '')) { include($this->include); } parent::Show(); } } ?> |