background() публичный Метод

Returns the background color for this calendar.
public background ( ) : string
Результат string A HTML color code.
Пример #1
0
 /**
  * Returns the background color for this calendar.
  *
  * @return string  A HTML color code.
  */
 public function background()
 {
     return empty($this->_color) ? parent::background() : $this->_color;
 }
Пример #2
0
 /**
  * Returns the background color for this calendar.
  *
  * @return string  A HTML color code.
  */
 public function background()
 {
     $color = $this->_share->get('color');
     return empty($color) ? parent::background() : $color;
 }