2011-06-08, 21:29:05
Now component is like an un parameterised micro-template. I wish I have an ability to use it in a manner of function, like
This could be usefull when component contains PHP code that should change it's behavior due to parameters.
Code:
<?
$paramValue2 = 'test';
get_component('article', 'paramValue1', $paramValue2);
?>
This could be usefull when component contains PHP code that should change it's behavior due to parameters.