public function __call($method, $args)
{
switch ($method) {
case 'getGalleryChildren':
case 'countGalleryChildren':
case 'listImages':
case 'getImages':
case 'hasSubGalleries':
case 'getDate':
case 'setDate':
return call_user_func_array(array($this->_modeHelper, $method), $args);
default:
return call_user_func_array(array($this->_gallery, $method), $args);
}
}