PHP code example of offsite-solutions / tholos
1. Go to this page and download the library: Download offsite-solutions/tholos 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/ */
offsite-solutions / tholos example snippets
html
## Comment line (stripped from output)
$variable_name <!-- Variable substitution -->
$variable~='default'; <!-- Variable with default value -->
$templateabs_path__name <!-- Include another template (/ replaced with __) -->
<!-- Callback function (short form) -->
[%_function_name=Tholos\TholosCallback::_eqs;param=prop_visible;value=true;false=hidden;true=</>%]
<!-- Callback function (block form) -->
<%FUNC%
_function_name=Tholos\TholosCallback::_eqs
param=prop_readonly
value=true
true=readonly="readonly"
false=</>
%FUNC%>