Source for file basic_model_createobject.php

Documentation is available at basic_model_createobject.php


1 <?php
2 /**
3 * @author Jan H. Andersen <jha@ipwsystems.dk>
4 * @author Martin R. Larsen <mrl@ipwsystems.dk>
5 * @copyright {@link http://www.ipwsystems.dk/ IPW Systems a.s}
6 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
7 * @package METAjour
8 * @subpackage model
9 * $Id: basic_model_createobject.php,v 1.1 2005/02/15 12:18:10 jan Exp $
10 */
11
12 require_once('basic_model_create.php');
13
14 class basic_model_createobject extends basic_model_create {
15
16 function model() {
17 $_obj = owNew($this->otype);
18 $_obj->listobjects();
19 if ($_obj->elementscount < 4) {
20 parent::model();
21 } else {
22 $this->userhandler->setObjectIdStack($_obj->elements[0]['objectid']);
23 }
24 }
25
26 }
27
28 ?>

Documentation generated on Thu, 9 Jun 2005 06:51:08 +0200 by phpDocumentor 1.2.3