FRED™
3.0
FRED™: Framework for Rapid and Easy Development
Format.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Rsi\Fred\Controller\View\Html\Builder
;
4
5
class
Format
extends
\Rsi\Fred\Controller\View\Html\Builder{
6
7
public
function
build
($ids){
8
if
(preg_match_all(
'/<(widget|caption):(\\w+)>/'
,$ids,$matches,PREG_SET_ORDER))
foreach
($matches as list($full,$type,$id))
9
$ids = str_replace($full,call_user_func([$this,
'render'
. ucfirst($type)],$id),$ids);
10
return
$ids;
11
}
12
13
}
Rsi\Fred\Controller\View\Html\Builder\Format\build
build($ids)
Definition:
Format.php:7
Rsi\Fred\Controller\View\Html\Builder\Format
Definition:
Format.php:5
Rsi\Fred\Controller\View\Html\Builder
Definition:
Format.php:3
src
Rsi
Fred
Controller
View
Html
Builder
Format.php
Generated on Sun Aug 2 2020 19:43:56 for FRED™ by
1.8.13