/** * survey constructor that calls parent constructor * * @param string $action string that represent the action to execute 'add', 'mod' or 'del' * @param int $id node id */ public function __construct($action, $id = null) { parent::__construct($action, $id); $this->mode = ADA_TYPE_SURVEY; $this->what = translateFN('sondaggio'); }
/** * test constructor that calls parent constructor * * @param string $action string that represent the action to execute 'add', 'mod' or 'del' * @param int $id node id */ public function __construct($action, $id = null) { parent::__construct($action, $id); $this->mode = ADA_TYPE_TEST; $this->what = translateFN('test'); }