PHP code example of se7enxweb / explayouts-standard
1. Go to this page and download the library: Download se7enxweb/explayouts-standard 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/ */
se7enxweb / explayouts-standard example snippets
$handler = new expLayoutsStandardTitleBlockHandler();
$definitions = $handler->getParameters(); // drives the block edit form
$values = $handler->getValues( array(
'parameters' => array( 'title' => 'Welcome', 'level' => '2' ),
) ); // variables for the view template
ini
[BlockDefinition_text]
Handler=expLayoutsStandardTextBlockHandler