Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Docs for page pnajax.php

Procedural File: pnajax.php

Source Location: /News/pnajax.php

Classes:



Page Details:

Zikula Application Framework



Tags:

version:  $Id: pnajax.php 24383 2008-06-12 14:15:02Z markwest $
copyright:  (c) 2001, Zikula Development Team
link:  http://www.zikula.org
license:  GNU/GPL








News_ajax_modify [line 20]

string News_ajax_modify( ['sid' 0 = int the story id])

modify a news entry (incl. delete) via ajax



Tags:

return:  HTML string
author:  Frank Schummertz


Parameters

'sid'   0   int the story id
[ Top ]



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:

return:  action) with output being a rendered template or a simple text and action the performed action
author:  Mark West
author:  Frank Schummertz


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'
[ Top ]


Packages:

Files:

Classes: