/includes/applyconfig.inc.php

Description
Functions
apply_config (line 10)

function apply_config()

routes page commands, display page html with feedback

  • return: returns html output to index.php
string apply_config ([string $mode = ''])
  • string $mode: handles the page commands, passed from page_router(), $_REQUEST['type']
verify_configs (line 263)
void verify_configs ( &$strMessage)
  • &$strMessage
write_config_html (line 65)

function write_config_html()

write the page html based on success or failure of the command submitted

  • return: html string to be displayed in the browser
string write_config_html ([int $code = 0], [string $message = ''])
  • int $code: error code returned from the command submitted
  • string $message: return message from any submitted command
write_config_tool (line 104)

function write_config_tool()

submits commands based on the $mode (write | verify | restart)

  • return: array(int errorCode, string returnMessage)
array write_config_tool ([string $mode = ''])
  • string $mode: (write | verify | restart)

Documentation generated on Thu, 04 Aug 2011 14:15:14 -0500 by phpDocumentor 1.4.3