Procedural File: pnadminapi.php
Source Location: /FAQ/pnadminapi.php
Page Details:
Zikula Application Framework
Tags:
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:
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 |
FAQ_adminapi_delete [line 73]
bool FAQ_adminapi_delete(
$args['faqid'] $args)
|
|
delete an faq
Tags:
Parameters
| $args['faqid'] |
$args |
ID of the item |
FAQ_adminapi_getlinks [line 172]
array FAQ_adminapi_getlinks(
)
|
|
get available admin panel links
Tags:
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:
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 |