LimeSurvey API - Master branch

template_helper.php

Table of Contents

Functions

doreplacement()  : mixed
getListOfFiles()  : mixed
mkdir_p()  : mixed
themeoptions()  : mixed
multiarray_search()  : mixed
recursive_in_array()  : mixed
is_template_editable()  : mixed
This function checks if a certain template may be by modified, copied, deleted according to the settings in config.php
templateExtractFilter()  : int
This is a PCLZip callback function that ensures only files are extracted that have a valid extension

Functions

doreplacement()

doreplacement(string $file, mixed $data[, mixed $oTemplate = '' ]) : mixed
Parameters
$file : string
$data : mixed
$oTemplate : mixed = ''

getListOfFiles()

getListOfFiles(mixed $wh) : mixed
Parameters
$wh : mixed

mkdir_p()

mkdir_p(string $target) : mixed
Parameters
$target : string

themeoptions()

themeoptions(mixed $optionarray, mixed $selectedvalue) : mixed
Parameters
$optionarray : mixed
$selectedvalue : mixed
multiarray_search(mixed $arrayVet, mixed $campo, mixed $valor) : mixed
Parameters
$arrayVet : mixed
$campo : mixed
$valor : mixed

recursive_in_array()

recursive_in_array(mixed $needle, mixed $haystack) : mixed
Parameters
$needle : mixed
$haystack : mixed

is_template_editable()

This function checks if a certain template may be by modified, copied, deleted according to the settings in config.php

is_template_editable(mixed $templatename) : mixed
Parameters
$templatename : mixed

templateExtractFilter()

This is a PCLZip callback function that ensures only files are extracted that have a valid extension

templateExtractFilter(mixed $p_event, mixed &$p_header) : int
Parameters
$p_event : mixed
$p_header : mixed
Return values
int

Return 1 for yes (file can be extracted), 0 for no


        
On this page

Search results