ElggSite::getURL PHP 메소드

getURL() 공개 메소드

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

Usage Example

예제 #1
0
파일: ElggSiteTest.php 프로젝트: elgg/elgg
 public function testElggSiteGetUrl()
 {
     $this->site->url = 'http://example.com/';
     $this->assertIdentical($this->site->getURL(), 'http://example.com/');
 }