[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/adm/ -> index.php (summary)

(no description)

Copyright: (c) 2005 phpBB Group
License: http://opensource.org/licenses/gpl-license.php GNU Public License
Version: $Id$
File Size: 633 lines (20 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 8 functions

  adm_page_header()
  adm_page_footer()
  adm_back_link()
  build_select()
  h_radio()
  build_cfg_template()
  validate_config_vars()
  validate_range()

Functions
Functions that are not part of a class:

adm_page_header($page_title)   X-Ref
Header for acp pages


adm_page_footer($copyright_html = true)   X-Ref
Page footer for acp pages


adm_back_link($u_action)   X-Ref
Generate back link for acp pages


build_select($option_ary, $option_default = false)   X-Ref
Build select field options in acp pages


h_radio($name, $input_ary, $input_default = false, $id = false, $key = false, $separator = '')   X-Ref
Build radio fields in acp pages


build_cfg_template($tpl_type, $key, &$new, $config_key, $vars)   X-Ref
Build configuration template for acp configuration pages


validate_config_vars($config_vars, &$cfg_array, &$error)   X-Ref
Going through a config array and validate values, writing errors to $error. The validation method  accepts parameters separated by ':' for string and int.
The first parameter defines the type to be used, the second the lower bound and the third the upper bound. Only the type is required.


validate_range($value_ary, &$error)   X-Ref
Checks whatever or not a variable is OK for use in the Database
param mixed $value_ary An array of the form array(array('lang' => ..., 'value' => ..., 'column_type' =>))'
param mixed $error The error array




Generated: Wed Oct 2 15:03:47 2013 Cross-referenced by PHPXref 0.7.1