fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [6993] merge from bim-branch


From: Sigurd Nes
Subject: [Fmsystem-commits] [6993] merge from bim-branch
Date: Wed, 16 Feb 2011 09:28:55 +0000

Revision: 6993
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=6993
Author:   sigurdne
Date:     2011-02-16 09:28:55 +0000 (Wed, 16 Feb 2011)
Log Message:
-----------
merge from bim-branch

Added Paths:
-----------
    trunk/bim/inc/class.bimitem.inc.php

Copied: trunk/bim/inc/class.bimitem.inc.php (from rev 6992, 
branches/dev-bim2/property/inc/class.bimitem.inc.php)
===================================================================
--- trunk/bim/inc/class.bimitem.inc.php                         (rev 0)
+++ trunk/bim/inc/class.bimitem.inc.php 2011-02-16 09:28:55 UTC (rev 6993)
@@ -0,0 +1,46 @@
+<?php
+phpgw::import_class('property.bimobject');
+class BimItem extends BimObject{
+       private $databaseId;
+       private $guid;
+       private $type;
+       private $xml;
+       private $modelId;
+        
+       function __construct($databaseId = null, $guid = null, $type = null, 
$xml = null, $modelId = null) {
+               //$this->databaseId = (is_null($databaseId)) ? null : 
(int)$databaseId;
+               $this->databaseId = (int)$databaseId;
+               $this->guid =  $guid;
+               $this->type = $type;
+               $this->xml = $xml;
+               $this->modelId = $modelId;
+       }
+       function getDatabaseId() {
+               return $this->databaseId;
+       }
+       function setDatabaseId($databaseId) {
+               $this->databaseId = $databaseId;
+       }
+       function getGuid() {
+               return $this->guid;
+       }
+       function getType() {
+               return $this->type;
+       }
+       function setType($type) {
+               $this->type = $type;
+       }
+       function getXml() {
+               return $this->xml;
+       }
+       function setXml($xml) {
+               $this->xml = $xml;
+       }
+       function getModelId() {
+               return $this->modelId;
+       }
+       function setModelId($id) {
+               $this->modelId = $id;
+       }
+        
+}
\ No newline at end of file




reply via email to

[Prev in Thread] Current Thread [Next in Thread]