ElggSite::getURL PHP Method

getURL() public method

Returns the URL for this site
public getURL ( ) : string
return string The URL
    public function getURL()
    {
        return $this->url;
    }

Usage Example

Ejemplo n.º 1
0
 public function testElggSiteGetUrl()
 {
     $this->site->url = 'http://example.com/';
     $this->assertIdentical($this->site->getURL(), 'http://example.com/');
 }