RealEstates
[ class tree: RealEstates ] [ index: RealEstates ] [ all elements ]

Class: Estate_Links_Rooms_Equipments

Source Location: /Estate_Links_Rooms_Equipments.php

Class Overview

PHP_Objects
   |
   --Estate_Links_Rooms_Equipments

Created on 05 may 09


Author(s):

Version:

  • 1.1

Variables

Methods


Inherited Variables

Inherited Methods

Class: PHP_Objects

PHP_Objects::__construct()
Construction function
PHP_Objects::getDB()
Database obtention function
PHP_Objects::getTable()
Table obtention function
PHP_Objects::setDebug()
Debug setting function

Class Details

[line 17]
Created on 05 may 09

This class manages Links between Real Estate Rooms objects and Real Estate Rooms Equipments objects.

CHANGES: 1.0 -> 1.1: 06 may 09 Added to RealEstates package




Tags:

author:  Pierre-Dominique Vienne <pvienne@me.com>
version:  1.1
license:  GNU Public License


[ Top ]


Class Variables

$database =  "estates"

[line 23]

Variable that contains database name



Tags:

access:  protected

Type:   string


[ Top ]

$equipmentID =

[line 47]

Variable that contains room equipment ID



Tags:

access:  protected

Type:   int


[ Top ]

$linkID =

[line 35]

Variable that contains link ID



Tags:

access:  protected

Type:   int


[ Top ]

$roomID =

[line 41]

Variable that contains room ID



Tags:

access:  protected

Type:   int


[ Top ]

$table =  "links_rooms_equipments"

[line 29]

Variable that contains table name



Tags:

access:  protected

Type:   string


[ Top ]



Class Methods


method LinkbyID [line 75]

object fetched LinkbyID( int $linkID, string $this->database, string $this->table)

Link by ID obtention function

This function is used to get link object by its ID from database. Result is stored in $this and returned

  1.  <?php
  2.  $oLink            new Estate_Links_Goods_Buildings();
  3.  print_r($oLink->LinkbyID(2));
  4.  // linkobject
  5.  ?>




Tags:

return:  link object
since:  Version 1.0


Parameters:

string   $this->database   database name
string   $this->table   table name
int   $linkID   ID of the link to be fetched

[ Top ]


Documentation generated on Wed, 26 Aug 2009 12:30:06 +0200 by phpDocumentor 1.4.1