public function getGalleries()
    {
        if ($this->galleries) {
            return $this->galleries;
        }

        $mediaCategoryMapper = ($this->container->dataMapper)('MediaCategoryMapper');

        return $this->galleries = $mediaCategoryMapper->findCategories();
    }
public function getGalleries()
    {
        if ($this->galleries) {
            return $this->galleries;
        }

        $mediaCategoryMapper = ($this->container->dataMapper)('MediaCategoryMapper');

        return $this->galleries = $mediaCategoryMapper->findCategories();
    }
public function getGalleries ( ) { if ( $ this -> galleries ) { return $ this -> galleries ; } $ mediaCategoryMapper = ( $ this -> container -> dataMapper ) ( 'MediaCategoryMapper' ) ; return $ this -> galleries = $ mediaCategoryMapper -> findCategories ( ) ; }
Get Gallery Options

Get all gallery media categories
@param  void
@return mixed Array | null
Get Gallery Options