Sets the cached Site data with a non-associated array of site data.
public static setSitesFromArray ( array $sites ) | ||
$sites | array | The array of sites data. eg, array( array('idsite' => '1', 'name' => 'Site 1', ...), array('idsite' => '2', 'name' => 'Site 2', ...), ) |