/**
  * {@inheritDoc}
  */
 public function getHideOnMediumDevice()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getHideOnMediumDevice', array());
     return parent::getHideOnMediumDevice();
 }
コード例 #2
0
ファイル: GridFramework.php プロジェクト: ceko/concrete5-1
 public function getPageThemeGridFrameworkSelectedDeviceHideClassesForDisplay(StyleSet $set, Page $page)
 {
     $classes = array();
     if (!$page->isEditMode()) {
         if ($set->getHideOnExtraSmallDevice()) {
             $classes[] = $this->getPageThemeGridFrameworkHideOnExtraSmallDeviceClass();
         }
         if ($set->getHideOnSmallDevice()) {
             $classes[] = $this->getPageThemeGridFrameworkHideOnSmallDeviceClass();
         }
         if ($set->getHideOnMediumDevice()) {
             $classes[] = $this->getPageThemeGridFrameworkHideOnMediumDeviceClass();
         }
         if ($set->getHideOnLargeDevice()) {
             $classes[] = $this->getPageThemeGridFrameworkHideOnLargeDeviceClass();
         }
     }
     return $classes;
 }