Ansel_Gallery_Decorator_Date::__call PHP Method

__call() public method

Magic method - pass thru methods to the wrapped Ansel_Gallery:: or to the Ansel_GalleryMode_Base:: handler.
public __call ( string $method, array $args ) : mixed
$method string
$args array
return mixed
    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);
        }
    }