[ Index ]

PHP Cross Reference of Nuke-Evolution v2.0.5

title

Body

[close]

/includes/ -> functions.php (summary)

(no description)

File Size: 1626 lines (56 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 1 file
 includes/page_tail.php

Defines 29 functions

  set_var()
  request_var()
  get_forum_display_sort_option()
  get_db_stat()
  phpbb_clean_username()
  phpbb_ltrim()
  phpbb_rtrim()
  dss_rand()
  get_userdata()
  set_user_xdata()
  get_user_xdata()
  get_xd_metadata()
  xdata_auth()
  make_jumpbox()
  init_userprefs()
  setup_style()
  encode_ip()
  decode_ip()
  create_date()
  generate_pagination()
  phpbb_preg_quote()
  obtain_word_list()
  message_die()
  phpbb_realpath()
  bblogin()
  show_glance()
  allow_log_view()
  show_log()
  resize_avatar()

Functions
Functions that are not part of a class:

set_var(&$result, $var, $type, $multibyte = false)   X-Ref
set_var

Set variable, used by {@link request_var the request_var function}


request_var($var_name, $default, $multibyte = false)   X-Ref
request_var

Used to get passed variable

get_forum_display_sort_option($selected_row=0, $action='list', $list='sort')   X-Ref
No description

get_db_stat($mode)   X-Ref
No description

phpbb_clean_username($username)   X-Ref
No description

phpbb_ltrim($str, $charlist = false)   X-Ref
This function is a wrapper for ltrim, as charlist is only supported in php >= 4.1.0
Added in phpBB 2.0.18


phpbb_rtrim($str, $charlist = false)   X-Ref
No description

dss_rand()   X-Ref
Our own generator of random values
This uses a constantly changing value as the base for generating the values
The board wide setting is updated once per page if this code is called
With thanks to Anthrax101 for the inspiration on this one
Added in phpBB 2.0.20


get_userdata($user, $force_str = false)   X-Ref
No description

set_user_xdata($user, $which_xdata, $value)   X-Ref
FUNCTION set_user_xdata

Sets a specefic custom profile field ($which_xdata) to the specefied
value ($value) for the user ($user).

param: int|string $user        - user_id or username of the user we're editing
param: int|string $which_xdata - the profile field being changed
param: mixed $value            - value to assign
return: null

get_user_xdata($user, $force_str = false)   X-Ref
FUNCTION get_user_xdata

retrieves the custom profile field data for the user ($user)
similar to get_userdata

param: int|string $user
param: bool $force_str
return: array $data

get_xd_metadata($force_refresh = false)   X-Ref
FUNCTION get_xd_metadata

get a list of xdata fields

param: boolean $force_refresh    - if true then we reselect the data from the db.
return: array $meta                - the data of the fields.

xdata_auth($fields, $userid, $meta = false)   X-Ref
No description

make_jumpbox($action, $match_forum_id = 0)   X-Ref
No description

init_userprefs($userdata)   X-Ref
No description

setup_style($style)   X-Ref
No description

encode_ip($dotquad_ip)   X-Ref
No description

decode_ip($int_ip)   X-Ref
No description

create_date($format, $gmepoch, $tz)   X-Ref
No description

generate_pagination($base_url, $num_items, $per_page, $start_item, $add_prevnext_text = TRUE)   X-Ref
No description

phpbb_preg_quote($str, $delimiter)   X-Ref
No description

obtain_word_list(&$orig_word, &$replacement_word)   X-Ref
No description

message_die($msg_code, $msg_text = '', $msg_title = '', $err_line = '', $err_file = '', $sql = '')   X-Ref
No description

phpbb_realpath($path)   X-Ref
No description

bblogin($session_id)   X-Ref
No description

show_glance($where)   X-Ref
No description

allow_log_view($user_level)   X-Ref
No description

show_log($type)   X-Ref
No description

resize_avatar($avatar_url)   X-Ref
No description



Generated: Wed Jun 6 11:38:01 2007 Cross-referenced by PHPXref 0.7