package Webenq_Questionnaires_Manage

 Methods

addAction()

addAction() 

Renders the confirmation form for deleting a category and perform the deleting.

deleteAction() : void

If a categor has questionnaires, the questionnaires are moved to default category with id =1 So it is forbidden to delete category with id=1

editAction()

editAction() 

Renders the overview of categories

indexAction() : void

orderAction()

orderAction() 

_orderCategories()

_orderCategories(array $data) 

Parameters

$data

 Properties

 

$ajaxable : array
 

$defaultCategoryId : integer
todo Remove dependency on database-specific setup