Procedural File: pnadminapi.php
Source Location: /News/pnadminapi.php
Page Details:
Zikula Application Framework
Tags:
News_adminapi_delete [line 19]
bool News_adminapi_delete(
$args['sid'] $args)
|
|
delete a News item
Tags:
Parameters
| $args['sid'] |
$args |
ID of the item |
news_adminapi_getlinks [line 147]
array news_adminapi_getlinks(
)
|
|
get available admin panel links
Tags:
News_adminapi_update [line 66]
bool News_adminapi_update(
$args, int $args['sid'], int $args['objectid'], string $args['title'], string $args['urltitle'], string $args['language'], string $args['hometext'], int $args['hometextcontenttype'], string $args['bodytext'], int $args['bodytextcontenttype'], string $args['notes'], int $args['published_status'], int $args['ihome'])
|
|
update a News item
Tags:
Parameters
| int |
$args['sid'] |
the id of the item to be updated |
| int |
$args['objectid'] |
generic object id maps to sid if present |
| string |
$args['title'] |
the title of the news item |
| string |
$args['urltitle'] |
the title of the news item formatted for the url |
| string |
$args['language'] |
the language of the news item |
| string |
$args['hometext'] |
the summary text of the news item |
| int |
$args['hometextcontenttype'] |
the content type of the summary text |
| string |
$args['bodytext'] |
the body text of the news item |
| int |
$args['bodytextcontenttype'] |
the content type of the body text |
| string |
$args['notes'] |
any administrator notes |
| int |
$args['published_status'] |
the published status of the item |
| int |
$args['ihome'] |
publish the article in the homepage |
| |
$args |
|