File: admin.php
Source Location: /LiveUser-0.13.0/docs/examples/example5/admin.php
Classes:
Page Details:
Includes:
getNewsContent [line 110]
mixed getNewsContent(
object &$db, int $id, string $content)
|
|
Get a news content.
Parameters
object |
&$db |
a reference to a db connection object |
int |
$id |
news id |
string |
$content |
the new content |
getNewsList [line 58]
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 |
insertNews [line 173]
mixed 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 |
|
updateNewsContent [line 150]
mixed 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 |
|
Documentation generated on Mon, 11 Mar 2019 13:56:15 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|