Documentation is available at SimpleIFrame.php
- <?php
- /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
- // +-------------------------------------------------------------------+
- // | WiFiDog Authentication Server |
- // | ============================= |
- // | |
- // | The WiFiDog Authentication Server is part of the WiFiDog captive |
- // | portal suite. |
- // +-------------------------------------------------------------------+
- // | PHP version 5 required. |
- // +-------------------------------------------------------------------+
- // | Homepage: http://www.wifidog.org/ |
- // | Source Forge: http://sourceforge.net/projects/wifidog/ |
- // +-------------------------------------------------------------------+
- // | This program is free software; you can redistribute it and/or |
- // | modify it under the terms of the GNU General Public License as |
- // | published by the Free Software Foundation; either version 2 of |
- // | the License, or (at your option) any later version. |
- // | |
- // | This program is distributed in the hope that it will be useful, |
- // | but WITHOUT ANY WARRANTY; without even the implied warranty of |
- // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
- // | GNU General Public License for more details. |
- // | |
- // | You should have received a copy of the GNU General Public License |
- // | along with this program; if not, contact: |
- // | |
- // | Free Software Foundation Voice: +1-617-542-5942 |
- // | 59 Temple Place - Suite 330 Fax: +1-617-542-2652 |
- // | Boston, MA 02111-1307, USA gnu@gnu.org |
- // | |
- // +-------------------------------------------------------------------+
- /**
- * @package WiFiDogAuthServer
- * @subpackage ContentClasses
- * @author Francois Proulx <francois.proulx@gmail.com>
- * @copyright 2005 Francois Proulx <francois.proulx@gmail.com> - Technologies
- * Coeus inc.
- * @version CVS: $Id: SimpleIFrame.php,v 1.4 2005/12/26 11:17:18 max-horvath Exp $
- * @link http://sourceforge.net/projects/wifidog/
- */
- require_once BASEPATH.'classes/Content.php';
- error_reporting(E_ALL);
- /**
- * A SimpleIFrame is an IFrame without all the fuss ( title, description ... )
- */
- class SimpleIFrame extends IFrame
- {
- /**Constructeur
- @param $content_id Content id
- */
- function __construct($content_id)
- {
- parent :: __construct($content_id);
- $this->setIsTrivialContent(true);
- $this->setIsPersistent(false);
- }
- /** Reloads the object from the database. Should normally be called after a set operation.
- * This function is private because calling it from a subclass will call the
- * constructor from the wrong scope */
- private function refresh()
- {
- $this->__construct($this->id);
- }
- }
- /*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * c-hanging-comment-ender-p: nil
- * End:
- */
- ?>
Documentation generated on Mon, 26 Dec 2005 19:19:22 +0100 by phpDocumentor 1.3.0RC5