Ansel_Gallery_Decorator_Date::__call PHP Méthode

__call() public méthode

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
Résultat 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);
        }
    }