public function has_summary() {
        if (isset($this->record->hassummary)) {
            return !empty($this->record->hassummary);
        }
        if (!isset($this->record->summary)) {
            // We need to retrieve summary.
            $this->__get('summary');
        }
        return !empty($this->record->summary);
    }
public function has_summary() {
        if (isset($this->record->hassummary)) {
            return !empty($this->record->hassummary);
        }
        if (!isset($this->record->summary)) {
            // We need to retrieve summary.
            $this->__get('summary');
        }
        return !empty($this->record->summary);
    }
public function has_summary ( ) { if ( isset ( $ this -> record -> hassummary ) ) { return ! empty ( $ this -> record -> hassummary ) ; } if ( ! isset ( $ this -> record -> summary ) ) { // We need to retrieve summary. $ this -> __get ( 'summary' ) ; } return ! empty ( $ this -> record -> summary ) ; }
Indicates if the course has non-empty summary field

@return bool
Indicates if the course has non - empty summary field