API docs     >     Pages and Sites     >     Sites

Sites->getByPName

Description

getByPName ( $name )
Gets basic information about the specified Site (by permanent name)

Parameters

$name
string
Site permanent name

Returns

array|false
Array containing information about the Site or FALSE in case of an error
  1. Array(
  2.     [ID] => 1
  3.     [NAME] => User Manual
  4.     [DEFAULTTEMPLATE] => 2
  5.     [TEMPLATEROOT] => 0
  6.     [PNAME] => User_Manual
  7.     [FAVICON] => 0
  8. )