public function getCalendarEnabled()
    {
        if ($this->owner->isReadonly() || $this->owner->isDisabled()) {
            return 'false';
        }
        
        return ($this->calendarDisabled || $this->owner->config()->calendar_disabled) ? 'false' : 'true';
    }
public function getCalendarEnabled()
    {
        if ($this->owner->isReadonly() || $this->owner->isDisabled()) {
            return 'false';
        }
        
        return ($this->calendarDisabled || $this->owner->config()->calendar_disabled) ? 'false' : 'true';
    }
public function getCalendarEnabled ( ) { if ( $ this -> owner -> isReadonly ( ) || $ this -> owner -> isDisabled ( ) ) { return 'false' ; } return ( $ this -> calendarDisabled || $ this -> owner -> config ( ) -> calendar_disabled ) ? 'false' : 'true' ; }
Answers 'true' if the calendar is enabled for the extended object.

@return string
Answers true if the calendar is enabled for the extended object .