Zikula_Value_Addons
[ class tree: Zikula_Value_Addons ] [ index: Zikula_Value_Addons ] [ all elements ]

Procedural File: pnadminapi.php

Source Location: /modules/News/pnadminapi.php



Page Details:

Zikula Application Framework



Tags:

version:  $Id: pnadminapi.php 24342 2008-06-06 12:03:14Z markwest $
copyright:  (c) 2001, Zikula Development Team
link:  http://www.zikula.org
filesource:  Source Code for this file
license:  GNU/GPL








News_adminapi_delete [line 19]

bool News_adminapi_delete( $args['sid'] $args)

delete a News item



Tags:

return:  true on success, false on failure
author:  Mark West


Parameters

$args['sid']   $args   ID of the item
[ Top ]



news_adminapi_getlinks [line 147]

array news_adminapi_getlinks( )

get available admin panel links



Tags:

return:  array of admin links
author:  Mark West


[ Top ]



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:

return:  true on update success, false on failiure
author:  Mark West


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



Documentation generated on Fri, 18 Jul 2008 21:52:01 +0200 by phpDocumentor 1.4.1