This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;;;;;;;;;;;;;;;;;; | |
; modules.conf.ini ; | |
;;;;;;;;;;;;;;;;;;;; | |
; Modules configuration | |
[MODULES] | |
; Register and enable module(s) | |
; Prototype: | |
; dummy.namespace = "Mod\Dummy" | |
; dummy.path = PATH_MOD"dummy"DIRECTORY_SEPARATOR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;;;;;;;;;;;;;;;;;; | |
; routes.conf.ini ; | |
;;;;;;;;;;;;;;;;;;;; | |
; Request routes configuration | |
[ROUTES] | |
; Register and enable route rule | |
; Prototype : | |
; dummy.controller = Dummy | |
; dummy.arguments.0 = user |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if (version_compare(PHP_VERSION, '5.3') < 0) die('Require PHP 5.'); | |
/** | |
*--------------------------------------------------------------- | |
* Set framework paths and main constants. | |
*--------------------------------------------------------------- | |
*/ | |
// Define application environment | |
define('ENVIRONMENT', $environment); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Juriya - RAD PHP Framework | |
* | |
* @package Juriya | |
* @version 0.0.1 | |
* @author Taufan Aditya | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php namespace Gas\Extension; | |
use \Gas\Extension; | |
class Result implements Extension { | |
/** | |
* Extension initialization method | |
* | |
* @param object |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// By default, if you use User as your model name, | |
// you may should named this file user_gas.php within your models directories | |
// You can change '_gas' suffix in gas.php under config | |
class User extends Gas { | |
// If your table name different with your model name, specify it | |
// otherwise, you didnt need to declare this property | |
public $table = 'person'; |
NewerOlder