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

Docs for page pnadminapi.php

Procedural File: pnadminapi.php

Source Location: /Admin_Messages/pnadminapi.php

Classes:



Page Details:

Zikula Application Framework



Tags:

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








Admin_Messages_adminapi_create [line 24]

mixed Admin_Messages_adminapi_create( $args, string $args['title'], string $args['content'], string $args['language'], int $args['active'], int $args['expire'], int $args['view'])

create a new Admin_Messages item



Tags:

return:  Admin_Messages item ID on success, false on failure
author:  Mark West


Parameters

string   $args['title']   title of the admin message
string   $args['content']   text of the admin message
string   $args['language']   the language of the message
int   $args['active']   activation status of the message
int   $args['expire']   expiry date of the message
int   $args['view']   who can view the message
   $args  
[ Top ]



Admin_Messages_adminapi_delete [line 72]

bool Admin_Messages_adminapi_delete( $args, int $args['mid'])

delete an Admin_Messages item



Tags:

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


Parameters

int   $args['mid']   ID of the admin message to delete
   $args  
[ Top ]



admin_messages_adminapi_getlinks [line 186]

array admin_messages_adminapi_getlinks( )

get available admin panel links



Tags:

return:  array of admin links
author:  Mark West


[ Top ]



Admin_Messages_adminapi_update [line 118]

bool Admin_Messages_adminapi_update( $args, int $args['mid'], sting $args['title'], string $args['content'], string $args['language'], int $args['active'], int $args['expire'], int $args['view'])

update a Admin_Messages item



Tags:

return:  true if successful, false otherwise
author:  Mark West


Parameters

int   $args['mid']   the ID of the item
sting   $args['title']   title of the admin message
string   $args['content']   text of the admin message
string   $args['language']   the language of the message
int   $args['active']   activation status of the message
int   $args['expire']   expiry date of the message
int   $args['view']   who can view the message
   $args  
[ Top ]


Packages:

Files:

Classes: