Skip to content

Commit

Permalink
1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fwmakc committed May 22, 2021
1 parent 7eb8f48 commit 697b546
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"autoload": {
"psr-4": {
"is\\Masters\\Modules\\Isengine\\": "/"
"is\\Masters\\Modules\\Isengine\\": "class/"
}
}
}
21 changes: 20 additions & 1 deletion data/default.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@
{

"key" : "value",

"array" : [
"1st",
"2nd"
]
],

"elements" : {
"container" : "div:container",
"row" : "div:row",
"col" : "div:col-auto",
"list" : "ul",
"item" : "li"
},

"classes" : {
"container" : "some",
"row" : "some",
"col" : "some",
"list" : "some",
"item" : "some"
}

}
9 changes: 8 additions & 1 deletion templates/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
$instance = $object -> get('instance');
$sets = &$object -> settings;

//echo print_r($object, 1);

//$object -> eget('container') -> addClass('new');
//$object -> eget('container') -> open(true);
//$object -> eget('container') -> close(true);
//$object -> eget('container') -> print();

?>

<div class="<?= $instance; ?>">
Expand All @@ -32,6 +39,6 @@
}
?>

<?php $object -> elements('element'); ?>
<?php $object -> blocks('block'); ?>

</div>

0 comments on commit 697b546

Please sign in to comment.