コード例 #1
0
ファイル: CustomStyle.php プロジェクト: digideskio/concrete5
 /**
  * @return string
  */
 public function getContainerClass()
 {
     $classes = array($this->getCustomStyleClass());
     if (is_object($this->set)) {
         if ($this->set->getCustomClass()) {
             $classes[] = $this->set->getCustomClass();
         }
         if (is_object($this->theme) && ($gf = $this->theme->getThemeGridFrameworkObject())) {
             $classes = array_merge($gf->getPageThemeGridFrameworkSelectedDeviceHideClassesForDisplay($this->set, $this->area->getAreaCollectionObject()), $classes);
         }
     }
     return implode(' ', $classes);
 }
 /**
  * {@inheritDoc}
  */
 public function getCustomClass()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCustomClass', array());
     return parent::getCustomClass();
 }