- Developper API  2.0.5
developerApi_2.0.5/DataStructure.php
Go to the documentation of this file.
00001 <?php
00011 class DataStructure
00012 {
00013         private $name;
00014         private $type;
00015         private $url;
00016         private $zone;
00017         private $preview;
00018     
00026         protected function __construct($name,$type,$url,$zone,$preview)
00027         {
00028                 $this->name = $name;
00029                 $this->type = $type;
00030                 $this->url = $url;
00031                 $this->zone = $zone;
00032                 $this->preview = $preview;
00033         }
00034 
00039         public final function getName()
00040         {
00041                 return (!empty($this->name)) ? $this->name : false;
00042         }
00043 
00048         public final function getType()
00049         {
00050                 return (!empty($this->type)) ? $this->type : false;
00051         }
00052 
00057         public final function getURL()
00058         {
00059                 return (!empty($this->url)) ? $this->url : false;
00060         }
00061         
00066         public final function getPreview()
00067         {
00068                 return (!empty($this->preview)) ? $this->preview : false;
00069         }
00070 }
00071 
00072 ?>