- Developper API  2.0.5
developerApi_2.0.5/Range.php
Go to the documentation of this file.
00001 <?php
00010 require_once("DataObjectFactory.php");
00011 require_once("Property.php");
00012 require_once("Utils.php");
00013 
00014 class Range extends Winery
00015 {
00024         public function __construct($id,$type,$xmlObject,$language)
00025         {
00026                 parent::__construct($id,$type,$xmlObject,$language);
00027         }
00028         
00033         public final function getWinery()
00034         {
00035         $id = $this->getId();
00036         if($id)
00037           return DataObjectFactory::getWineryByRangeId($id,$this->getLanguage);
00038 
00039         return false;  
00040         }
00041 }