Source for file edocument_edocform_model_caseclose.php

Documentation is available at edocument_edocform_model_caseclose.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 SSA
8 * @subpackage model
9 * $Id: edocument_edocform_model_caseclose.php,v 1.1 2005/02/04 06:20:44 jan Exp $
10 */
11
12 require_once($system_path.'basic_model.php');
13
14 class edocument_edocform_model_caseclose extends basic_model {
15
16 function model() {
17 foreach($this->objectid as $curid) {
18 $obj = owRead($curid);
19 $obj->updateObject($curid, array('status' => CASE_CLOSED));
20 }
21 }
22
23 }
24
25 ?>

Documentation generated on Thu, 9 Jun 2005 06:52:00 +0200 by phpDocumentor 1.2.3