Source for file documentclass.php

Documentation is available at documentclass.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 core
9 * $Id: documentclass.php,v 1.6 2005/02/04 05:01:54 jan Exp $
10 */
11
12 require_once('basicclass.php');
13
14 class document extends basic {
15
16 function document() {
17 $this->basic();
18 $this->setsubtype('documentsection');
19 $this->addcolumn('name',0,UI_STRING);
20 $this->addcolumn('alias',0,UI_STRING);
21 $this->addcolumn('templateid',0,UI_RELATION,'template');
22 $this->addcolumn('stylesheetid',0,UI_RELATION,'stylesheet');
23 $this->addcolumn('metadataid',0,UI_RELATION,'metadata');
24 $this->addcolumn('structureid',0,UI_HIDDEN);#UI_RELATION,'structure'
25 $this->addcolumn('nolist',0,UI_CHECKBOX);
26 $this->addcolumn('nosearch',0,UI_CHECKBOX);
27
28 $this->setUseApp(true);
29
30 $this->addview('preview');
31 $this->addview('createfuture');
32 $this->addview('approvepublish');
33 $this->addview('requestapproval');
34 }
35
36 }

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