Location: PHPKode > scripts > ezSqliteAdmin > ezsqliteadmin/MainObjectView.php
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
//
// +----------------------------------------------------------------------+
// | ezSqliteAdmin V0.1                                                   |
// +----------------------------------------------------------------------+
// | Copyright (c) 2004, Wenlong Wu <hide@address.com>                 |
// | Homepage      http://www.phpsalon.com                                |
// | License       GNU Lesser General Public License (LGPL)               | 
// +----------------------------------------------------------------------+
// | This library is free software; you can redistribute it and/or        |
// | modify it under the terms of the GNU Lesser General Public           |
// | License as published by the Free Software Foundation; either         |
// | version 2.1 of the License, or (at your option) any later version.   |
// +----------------------------------------------------------------------+
// | Authors: Wenlong Wu <hide@address.com>                            |
// +----------------------------------------------------------------------+
//
// $Id: MainObjectView.php,v 1.3 2004/09/18 09:30:03 wenlong Exp $
//
require_once('MainObjectModel.php');
/**
* MainObjectView
*
* @package		ezSqliteAdmin
* @version		$Revision: 1.3 $
* @author		Wenlong Wu <hide@address.com>
* @homepage		http://www.phpsalon.com
* @copyright	Copyright (c) 2004, Wenlong Wu
* @license		http://opensource.org/licenses/lgpl-license.php
* @access		public
*/
class MainObjectView extends AView implements IView {
	/**
	* contains MainEditorModel class
	*
	* @access	private
	* @var		object
	*/
	private $model = null;

	/**
	* Constructor
	*/
	public function __construct() {
		$this->model = MainObjectModel::getInstance();
	}

	/**
	* Prepare XUL for output
	*
	* @access	public
	* @return	string		XUL
	*/
	public function render() {
		return $this->model->buildObjectView();
	}
}
?>
Return current item: ezSqliteAdmin