1. Go to this page and download the library: Download rkw/rkw-outcome library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
rkw / rkw-outcome example snippets
//===============================================
// Survey
'tx-rkw-survey' => array (
array(
'GETvar' => 'tx_rkwsurvey_survey[controller]',
'valueMap' => array(
'survey' => 'Survey',
),
),
array(
'GETvar' => 'tx_rkwsurvey_survey[action]' ,
),
// look-up table - param has to be set in cHash-ignore in Install-Tool!
array(
'GETvar' => 'tx_rkwsurvey_survey[survey]' ,
'lookUpTable' => [
'table' => 'tx_rkwsurvey_domain_model_survey',
'id_field' => 'uid',
'alias_field' => 'CONCAT(name, "-", uid)',
'addWhereClause' => ' AND NOT deleted AND NOT hidden',
'useUniqueCache' => 1,
'useUniqueCache_conf' => [
'strtolower' => 1,
'spaceCharacter' => '-',
],
],
),
array(
'GETvar' => 'tx_rkwsurvey_survey[surveyResult]',
),
),
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.