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: /FAQ/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








FAQ_adminapi_create [line 23]

mixed FAQ_adminapi_create( $args['question'] $faq, $args['answer'] 1, $args['submittedby'] 2, $args['submittedbyid'] 3, $args['answeredbyid'] 4)

create a new FAQ



Tags:

return:  FAQ ID on success, false on failure


Parameters

$args['answer']   1   number of the item
$args['submittedby']   2   name of the submitter (if anonymous) (optional)
$args['submittedbyid']   3   id of the submitter (if logged in) (optional)
$args['answeredbyid']   4   id of the answerer (optional)
$args['question']   $faq   name of the item
[ Top ]



FAQ_adminapi_delete [line 73]

bool FAQ_adminapi_delete( $args['faqid'] $args)

delete an faq



Tags:

return:  true on success, false on failure


Parameters

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



FAQ_adminapi_getlinks [line 172]

array FAQ_adminapi_getlinks( )

get available admin panel links



Tags:

return:  array of admin links
author:  Mark West


[ Top ]



FAQ_adminapi_update [line 117]

bool FAQ_adminapi_update( $args['faqid'] $faq, $args['question'] 1, $args['answer'] 2, $args['submittedby'] 3, $args['submittedbyid'] 4, $args['answeredbyid'] 5)

update an item



Tags:

return:  true on success, false on failure


Parameters

$args['question']   1   the new name of the item
$args['answer']   2   the new number of the item
$args['submittedby']   3   name of the submitter (if anonymous)
$args['submittedbyid']   4   id of the submitter (if logged in)
$args['answeredbyid']   5   id of the answerer (optional)
$args['faqid']   $faq   the ID of the item
[ Top ]


Packages:

Files:

Classes: