Procedural File: pnajax.php
Source Location: /News/pnajax.php
Page Details:
Zikula Application Framework
Tags:
News_ajax_modify [line 20]
string News_ajax_modify(
['sid' 0 = int the story id])
|
|
modify a news entry (incl. delete) via ajax
Tags:
Parameters
News_ajax_update [line 106]
array(output, News_ajax_update(
int 0, string 1, string 2, string 3, string 4, int 5, string 6, int 7, string 8, int 9, int 10, string 11)
|
|
This is the Ajax function that is called with the results of the
form supplied by news_ajax_modify() to update a current item The following parameters are received in an array 'story'!
Tags:
Parameters
| int |
0 |
'sid' the id of the item to be updated |
| string |
1 |
'title' the title of the news item |
| string |
2 |
'urltitle' the title of the news item formatted for the url |
| string |
3 |
'language' the language of the news item |
| string |
4 |
'bodytext' the summary text of the news item |
| int |
5 |
'bodytextcontenttype' the content type of the summary text |
| string |
6 |
'extendedtext' the body text of the news item |
| int |
7 |
'extendedtextcontenttype' the content type of the body text |
| string |
8 |
'notes' any administrator notes |
| int |
9 |
'published_status' the published status of the item |
| int |
10 |
'ihome' publish the article in the homepage |
| string |
11 |
'action' the action to perform, either 'update', 'delete' or 'pending' |