sites.setInfo

Introduction

Sets information for the current site. Useful if building a CMS or GameSiteScript using the NewHaze API.

Parameters

Name Type Description
name string Set the site name
url string Set the site's default URL
logo string The URL of a logo image
urlpostadd_game string Set a new URL for this URL type
urlpostremove_game string Set a new URL for this URL type
urlgamemask string Set a new URL for this URL type
urlusermask string Set a new URL for this URL type
urlpostadd_category string Set a new URL for this URL type
urlpostremove_category string Set a new URL for this URL type
param_{custom name} string Store a parameter associated with the current site

Using the PHP Library

<?php
$urls
=array('post_add_category'=>'http://www.example.com/addcat.php');
$params=array();
$response=$newhaze->sites_setInfo($name,$url,$logo,$urls,$params);
?>


© 2012 NewHaze   Icons by Pixel Mixer   Help