Location: PHPKode > projects > METAjour > metajour/basic_model_category.php
<?php
/**
 * @author Jan H. Andersen <hide@address.com>
 * @author Martin R. Larsen <hide@address.com>
 * @copyright {@link http://www.ipwsystems.dk/ IPW Systems a.s}
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 * @package METAjour
 * @subpackage model
 */

require_once('basic_model.php');

class basic_model_category extends basic_model {

	function model() {
		foreach($this->objectid as $curid) {
			$obj = owRead($curid);
			if (isset($this->data['__categories__'])) {
				$obj->setcategory($this->data['__categories__']);
			}
		}
	}
	
}

?>
Return current item: METAjour