public function getEventSitePrettyPrint()
  {
    $eventSite = null;
    if ($this->event && $this->site) {
      if (strpos($this->event, $this->site) !== false) {
        // Event contains site.
        $eventSite = $this->event;
      } else {
        $eventSite = "$this->event, in $this->site";
      }
    } elseif ($this->event) {
      $eventSite = $this->event;
    } elseif ($this->site) {
      $eventSite = $this->site;
    }

    return $eventSite;
    }
public function getEventSitePrettyPrint()
  {
    $eventSite = null;
    if ($this->event && $this->site) {
      if (strpos($this->event, $this->site) !== false) {
        // Event contains site.
        $eventSite = $this->event;
      } else {
        $eventSite = "$this->event, in $this->site";
      }
    } elseif ($this->event) {
      $eventSite = $this->event;
    } elseif ($this->site) {
      $eventSite = $this->site;
    }

    return $eventSite;
    }
public function getEventSitePrettyPrint ( ) { $ eventSite = null ; if ( $ this -> event && $ this -> site ) { if ( strpos ( $ this -> event , $ this -> site ) !== false ) { // Event contains site. $ eventSite = $ this -> event ; } else { $ eventSite = "$this->event, in $this->site" ; } } elseif ( $ this -> event ) { $ eventSite = $ this -> event ; } elseif ( $ this -> site ) { $ eventSite = $ this -> site ; } return $ eventSite ; }
Get the event and site concatenated smartly.
@return string
Get the event and site concatenated smartly .