Procedural File: pnuserapi.php
Source Location: /News/pnuserapi.php
Classes:
- news_result_checker
- Internal callback class used to check permissions to each News item
Page Details:
Zikula Application Framework
Tags:
News_userapi_countitems [line 263]
int News_userapi_countitems(
$args)
|
|
utility function to count the number of items held by this module
Tags:
Parameters
News_userapi_create [line 678]
mixed News_userapi_create(
$args['name'] $args, $args['number'] 1)
|
|
create a new News item
Tags:
Parameters
| $args['number'] |
1 |
number of the item |
| $args['name'] |
$args |
name of the item |
News_userapi_decodeurl [line 838]
bool News_userapi_decodeurl(
$args)
|
|
decode the custom url string
Tags:
Parameters
News_userapi_encodeurl [line 760]
string News_userapi_encodeurl(
$args)
|
|
form custom url string
Tags:
Parameters
News_userapi_get [line 185]
mixed News_userapi_get(
$args['sid'] $args)
|
|
get a specific item
Tags:
Parameters
| $args['sid'] |
$args |
id of news item to get |
News_userapi_getall [line 47]
mixed News_userapi_getall(
$args)
|
|
get all news items
Tags:
Parameters
News_userapi_getArticleInfo [line 410]
void News_userapi_getArticleInfo(
$info)
|
|
Generate raw information for a given article
Requires row to have previously gone through getArticles() and meet the prerequisites for it
Tags:
Parameters
News_userapi_getArticleLinks [line 334]
void News_userapi_getArticleLinks(
$info)
|
|
Generate an array of links for a given article
Requires info to have previously gone through genArticleInfo() and meet the prerequisites for it
Tags:
Parameters
News_userapi_getArticlePreformat [line 551]
void News_userapi_getArticlePreformat(
$args)
|
|
Generate an array of preformatted HTML bites for a given article
Requires info to have previously gone through genArticleInfo() and meet the prerequisites for it Requires links to have been generated from genArticleLinks()
Tags:
Parameters
News_userapi_getmodulemeta [line 955]
void News_userapi_getmodulemeta(
)
|
|
get meta data for the module
News_userapi_incrementreadcount [line 313]
bool News_userapi_incrementreadcount(
$args)
|
|
increment the item read count
Tags:
Parameters
News_userapi_isformatted [line 936]
void News_userapi_isformatted(
$args)
|
|
analize if the News module has an Scribite! editor assigned
Parameters
_News_getCategoryField [line 969]
void _News_getCategoryField(
)
|
|
_News_getTopicField [line 974]
void _News_getTopicField(
)
|
|