<?php
include_once 'element.php';
include_once 'lorem.php';
echo lorem::createPlugin("test", array(
"sugar" => array(
"parameters" => array(),
"source" => '<div class="test">
<span>{Lorem.text,3}</span>
<h1>{Lorem.text,5}</h1>
{lorem.para}
{lorem.separator}
</div>
'
),
"choco" => array(
"parameters" => array(),
"source" => '<div class="test">
<span>{Lorem.text,4}</span>
<h2>{Lorem.text,5}</h2>
{lorem.para}
{lorem.separator}
</div>
'
)
));
|