phpDocumentor ninko
functions
[ class tree: ninko ] [ index: ninko ] [ all elements ]

Procedural File: admin.php

Source Location: /include/functions/admin.php

Page Details

admin.php

Functions that are used only inside of the admin panel.

Author:  Nijiko Yonskai <me@nijikokun.com>
Version:  1.2
Copyright:  (c) 2010 ANIGAIKU
Functions
ban_user  [line 174]

string|boolean ban_user( $id $id  )

Ban a user

Parameters:
$id   $id:  user identification number


[ Top ]
delete_post  [line 149]

string|boolean delete_post( $id $id  )

Delete a post

Parameters:
$id   $id:  post identification number


[ Top ]
delete_topic  [line 108]

string|boolean delete_topic( $id $id  )

Delete a whole topic and its posts.

Parameters:
$id   $id:  topic identification number


[ Top ]
fetch_all  [line 49]

array|boolean fetch_all( [boolean $posts = false], [integer $current = 0], [integer $limit = 15]  )

Fetches forum data based on input

Parameters:
boolean   $posts:  check to see if we want posts and not topics / topics
integer   $current:  data to be scanned for links and replaced
integer   $limit:  data to be scanned for links and replaced


[ Top ]
unban_user  [line 199]

string|boolean unban_user( $id $id  )

Unban a user

Parameters:
$id   $id:  user identification number


[ Top ]
update_config  [line 21]

boolean update_config( $key $key, $value $value  )

Updates configuration setting inside of database

Parameters:
$key   $key:  configuration item key
$value   $value:  data to be updated

API Tags:
Global:  array $config: already set $config


[ Top ]


Documentation generated on Sat, 06 Feb 2010 10:45:59 -0500 by phpDocumentor 1.4.3