Exemple #1
0
 /**
  * Get the API version of the common base
  *
  * This methods can be called statically using Image_Tools::getAPIVersion() or
  * from the subclass e.g Image_Tools_Border::getAPIVersion() or
  * $border->getAPIVersion()
  *
  * @return string Image_Tools base class api-version
  * @access protected
  */
 function getAPIVersion()
 {
     if (isset($this)) {
         return $this->apiVersion;
     } else {
         $obj = new Image_Tools();
         return $obj->getAPIVersion();
     }
 }