API docs     >     Pages and Sites     >     Sites

Sites->get

Description

get ( $site )
Gets basic information about the specified Site

Parameters

$site
int
Site Id

Returns

array|false
Array containing information about the Site or FALSE in case of an error
  1. Array(
  2.     [ID] => 2                   int Id
  3.     [NAME] => 'Homepage'        string Name
  4.     [DEFAULTTEMPLATE] => 2      int Default Template
  5.     [TEMPLATEROOT] => 0         int Template Id
  6.     [PNAME] => 'Homepage'       string Permanent name
  7.     [FAVICON] => 0              int File Id
  8. )