LiveUser
[ class tree: LiveUser ] [ index: LiveUser ] [ all elements ]

File: admin.php

Source Location: /LiveUser-0.16.14/docs/examples/example5/admin.php

Classes:

Page Details:

Includes:

require_once('conf.php') [line 5]
Administration page
require_once('HTML/Template/IT.php') [line 8]
require_once('createlu.php') [line 6]
require_once('liveuser_rights.php') [line 7]

getNewsContent [line 113]

string getNewsContent( object &$db, [ $news = null], int $id, string $content)

Get a news content.
  • Return: content as a string


Parameters

object   &$db   a reference to a db connection object
int   $id   news id
string   $content   the new content
   $news  
[ Top ]



getNewsList [line 63]

void getNewsList( object &$db, string $category)

Returns news list for a given category


Parameters

object   &$db   a reference to a db connection object
string   $category   news category
[ Top ]



insertNews [line 178]

void insertNews( object &$db, string $title, string $content, $user)

Insert news in database


Parameters

object   &$db   a reference to a db connection object
string   $title   news title
string   $content   the new content
   $user  
[ Top ]



updateNewsContent [line 155]

void updateNewsContent( object &$db, &$id, $title, string $content, $user, int $id)

Update a news content


Parameters

object   &$db   a reference to a db connection object
int   $id   news id
string   $content   the new content
   &$id  
   $title  
   $user  
[ Top ]



Documentation generated on Fri, 15 Oct 2010 15:00:04 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.