This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row row_fluid"> | |
<div class="gr gr_4 gr_md_12 bg">4</div> | |
<div class="gr gr_4 gr_md_6 bg">4</div> | |
<div class="gr gr_4 gr_md_6 bg">4</div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row row_fluid"> | |
<div class="gr gr_4 gr_md_12 bg">4</div> | |
<div class="gr gr_4 gr_md_12 bg">4</div> | |
<div class="gr gr_4 gr_md_12 bg">4</div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Shortly | |
*/ | |
# EOF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Rubricate\Widget\DivWidget; | |
$div = new DivWidget('Name: %s | Country: %s | Century: %d '); | |
$div->setParam('Rainha Ginga'); | |
$div->setParam('Angola'); | |
$div->setParam(17); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Rubricate\Widget\DivWidget; | |
/* Example 1 */ | |
$div = new DivWidget('Text Here'); | |
echo $div->getElement(); | |
# <div>Text Here</div> | |
/* Example 2*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Rubricate\Widget\AnchorIfWidget; | |
$if = (1 == 1); | |
$href = 'https://rubricate.github.io'; | |
$text = 'Rubricate'; | |
$a = new AnchorIfWidget($if, $href, $text); | |
echo $a->getElement(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Rubricate\Widget\AnchorWidget; | |
$href = 'https://rubricate.github.io'; | |
$text = 'Rubricate'; | |
$a = new AnchorWidget($href, $text); | |
echo $a->getElement(); | |
# <a href="https://rubricate.github.io">Rubricate</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* sintax: | |
$img = new ImageWidget('image.png'); | |
echo $img->getElement(); | |
*/ | |
use Rubricate\Widget\ImageWidget; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2023-09-20 18:05:00 DEBUG: Array | |
( | |
[0] => lorem | |
[1] => ipsum | |
[2] => dolor | |
) | |
2023-09-20 18:05:00 DEBUG: int(1) | |
2023-09-20 18:05:00 DEBUG: bool(true) | |
2023-09-20 18:05:00 DEBUG: some text here | |
2023-09-20 18:05:00 DEBUG: float(5.2) |