Source for file basic_model_publish.php

Documentation is available at basic_model_publish.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_publish.php,v 1.2 2004/10/17 19:10:14 jan Exp $
10 */
11
12 require_once('basic_model.php');
13
14 class basic_model_publish extends basic_model {
15
16 function model() {
17 foreach($this->objectid as $curid) {
18 $obj = owRead($curid);
19 $obj->setpublish($this->data['publish']);
20 $obj->setexpire($this->data['expire']);
21 }
22 }
23
24 }
25
26 ?>

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