C_GalleryStorage_Base

The NextGEN Gallery C GalleryStorage Base class.

Defined (1)

The class is defined in the following location(s).

/products/photocrati_nextgen/modules/nextgen_data/package.module.nextgen_data.php  
  1. class C_GalleryStorage_Base extends C_Component 
  2. /** 
  3. * Gets the url or path of an image of a particular size 
  4. * @param string $method 
  5. * @param array $args 
  6. */ 
  7. public function __call($method, $args) 
  8. if (preg_match('/^get_(\\w+)_(abspath|url|dimensions|html|size_params)$/', $method, $match)) { 
  9. if (isset($match[1]) && isset($match[2]) && !$this->has_method($method)) { 
  10. $method = 'get_image_' . $match[2]; 
  11. $args[] = $match[1]; 
  12. // array($image, $size) 
  13. return parent::__call($method, $args); 
  14. return parent::__call($method, $args);