1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-03 03:37:52 +02:00

Update Html.php

This commit is contained in:
ravilrrr
2014-05-31 18:19:07 +00:00
parent ad5d92bbff
commit a078ba2ad1

View File

@@ -51,7 +51,7 @@ class Html
* *
* <code> * <code>
* *
* // Registering a Htmlk macro * // Registering a Html macro
* Html::macro('my_element', function() { * Html::macro('my_element', function() {
* return '<element id="monstra">'; * return '<element id="monstra">';
* }); * });
@@ -61,7 +61,7 @@ class Html
* *
* *
* // Registering a Html macro with parameters * // Registering a Html macro with parameters
* Html::macro('my_element', function(id = '') { * Html::macro('my_element', function($id = '') {
* return '<element id="'.$id.'">'; * return '<element id="'.$id.'">';
* }); * });
* *