Метод | Описание | |
---|---|---|
__construct ( stdClass $row = null ) | Create a new \ElggSite. | |
checkWalledGarden ( ) : void | Halts bootup and redirects to the site front page if site is in walled garden mode, no user is logged in, and the URL is not a public page. | |
delete ( ) : boolean | Delete the site. | |
disable ( string $reason = "", boolean $recursive = true ) : boolean | Disable the site | |
getDisplayName ( ) | ||
getDomain ( ) : string | Get the domain for this site | |
getExternalAttributes ( ) : array | Get default values for attributes stored in a separate table | |
getURL ( ) : string | Returns the URL for this site | |
isPublicPage ( string $url = '' ) : boolean | Returns if a URL is public for this site when in Walled Garden mode. | |
setDisplayName ( $displayName ) |
Метод | Описание | |
---|---|---|
create ( ) | ||
initializeAttributes ( ) : void | Initialize the attributes array. | |
load ( mixed $guid ) : boolean | Loads the full \ElggSite when given a guid. | |
prepareObject ( $object ) | ||
update ( ) |
public __construct ( stdClass $row = null ) | ||
$row | stdClass | Database row result. Default is null to create a new site. |
public checkWalledGarden ( ) : void | ||
Результат | void |
final public static getExternalAttributes ( ) : array | ||
Результат | array |
protected initializeAttributes ( ) : void | ||
Результат | void |
public isPublicPage ( string $url = '' ) : boolean | ||
$url | string | Defaults to the current URL. |
Результат | boolean |