public function getCalendarConfig($name = null)
    {
        if (!is_null($name)) {
            return isset($this->calendarConfig[$name]) ? $this->calendarConfig[$name] : null;
        }
        
        return $this->calendarConfig;
    }
public function getCalendarConfig($name = null)
    {
        if (!is_null($name)) {
            return isset($this->calendarConfig[$name]) ? $this->calendarConfig[$name] : null;
        }
        
        return $this->calendarConfig;
    }
public function getCalendarConfig ( $ name = null ) { if ( ! is_null ( $ name ) ) { return isset ( $ this -> calendarConfig [ $ name ] ) ? $ this -> calendarConfig [ $ name ] : null ; } return $ this -> calendarConfig ; }
Answers either the named calendar config value, or the calendar config array.

@param string $name

@return mixed
Answers either the named calendar config value or the calendar config array .