This repository was archived by the owner on May 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * Eliasis PHP Framework application module
4+ *
5+ * @author Josantonius - hello@josantonius.com
6+ * @copyright Copyright (c) 2017
7+ * @license https://opensource.org/licenses/MIT - The MIT License (MIT)
8+ * @link https://github.com/Eliasis-Framework/fork-me-github
9+ * @since 1.0.0
10+ */
11+
12+ use Eliasis \App \App ,
13+ Eliasis \Module \Module ;
14+
15+ $ url = App::MODULES_URL () . Module::ForkMeGitHub ('folder ' );
16+
17+ return [
18+
19+ 'url ' => [
20+
21+ 'css ' => $ url . 'public ' . App::DS . 'css ' . App::DS ,
22+ 'js ' => $ url . 'public ' . App::DS . 'js ' . App::DS
23+ ],
24+ ];
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * Eliasis PHP Framework application module
4+ *
5+ * @author Josantonius - hello@josantonius.com
6+ * @copyright Copyright (c) 2017
7+ * @license https://opensource.org/licenses/MIT - The MIT License (MIT)
8+ * @link https://github.com/Eliasis-Framework/fork-me-github
9+ * @since 1.0.0
10+ */
11+
12+ use Eliasis \App \App ;
13+
14+ $ namespace = App::getNamespace ('modules ' );
15+
16+ $ module = 'ForkMeGitHub ' ;
17+
18+ return [
19+
20+ 'namespace ' => [
21+
22+ 'controller ' => $ namespace . $ module . '\\Controller \\' ,
23+ ],
24+ ];
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * Eliasis PHP Framework application module
4+ *
5+ * @author Josantonius - hello@josantonius.com
6+ * @copyright Copyright (c) 2017
7+ * @license https://opensource.org/licenses/MIT - The MIT License (MIT)
8+ * @link https://github.com/Eliasis-Framework/fork-me-github
9+ * @since 1.0.0
10+ */
11+
12+ use Eliasis \App \App ,
13+ Eliasis \Module \Module ;
14+
15+ $ DS = App::DS ;
16+ $ ROOT = Module::ForkMeGitHub ('path ' );
17+
18+ return [
19+
20+ 'path ' => [
21+
22+ 'elements ' => $ ROOT .'src ' . $ DS .'template ' . $ DS . 'elements ' . $ DS ,
23+ ],
24+ ];
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class ForkMeGitHub extends Controller {
2929 */
3030 public function css () {
3131
32- Asset::css (Module::ForkMeGitHub ('getUrl ' , 'css ' ) . 'style.css ' );
32+ Asset::css (Module::ForkMeGitHub ('url ' , 'css ' ) . 'style.css ' );
3333 }
3434
3535 /**
@@ -39,7 +39,7 @@ public function css() {
3939 */
4040 public function render () {
4141
42- $ path = Module::ForkMeGitHub ('getPath ' , 'view ' );
42+ $ path = Module::ForkMeGitHub ('path ' , 'elements ' );
4343
4444 $ this ->view ->renderizate ($ path . 'strip ' );
4545 }
File renamed without changes.
You can’t perform that action at this time.
0 commit comments