Mike Cao
b30d5e5fa2
Moved map method check to Engine. Added get method to Loader. Added new tests.
8 years ago
Mike Cao
b4b43460eb
Merge pull request #295 from shanelja/master
...
Attempting to execute unmapped methods now triggers Exceptions
8 years ago
Shane Armstrong
a9ced778ee
#203 - Executing an unmapped method within the engine dispatcher now throws an Exception, clarified the return class of Flight::app()
8 years ago
Shane Armstrong
b7301a3c0c
Merge pull request #1 from mikecao/master
...
Merge pull request #294 from shanelja/master
8 years ago
Mike Cao
f4da7aefdd
Merge pull request #294 from shanelja/master
...
#290 - JSON methods now support encode option/depth
8 years ago
Shane Armstrong
b7b929bf99
#290 - JSON methods now support encode option/depth, added missing arguments to json/jsonp method documentation, _json/_jsonp methods now list arguments on individual lines to remain PSR-2 compliant
8 years ago
Mike Cao
ec24d78602
Allow static methods to be called using a string.
9 years ago
Mike Cao
7f402f805a
Merge pull request #252 from hitautodestruct/patch-2
...
Note regarding usage of flight in a subdirectory
9 years ago
hitautodestruct
af6afc6786
Changed flight to dir subdir
9 years ago
Mike Cao
087032ca7b
Merge pull request #246 from tamtamchik/patch-1
...
Updated README.md
9 years ago
Yuriy Tkachenko
e42d4ad7f9
Update README.md
9 years ago
hitautodestruct
1eeafc28a8
Note regarding usage of flight in a subdirectory
...
Thanks to this question and answer http://stackoverflow.com/questions/20890210/flight-php-routing-from-subdirectory
9 years ago
Yuriy Tkachenko
eaa9c99dd7
Updated README.md
...
Added example for routing object methods
9 years ago
Mike Cao
8bd0bdd0b6
Merge pull request #243 from susuper/master
...
Changed Last-Modified HTTP header format
9 years ago
susuper
bf7b6d6431
Changed Last-Modified HTTP header format
9 years ago
Mike Cao
f3fa0513fe
Updated error handling for PHP 7.
9 years ago
Mike Cao
b96aaa7967
Added charset option for JSON requests.
9 years ago
Mike Cao
443fa82895
Merge pull request #210 from orthographic-pedant/spell_check/available
...
Fixed typographical error, changed availabe to available in README.
9 years ago
Mike Cao
dc9cfda6dd
Merge pull request #226 from tamtamchik/master
...
PHPDoc update & rearrangement
9 years ago
Yuri Tkachenko
d191ca821e
fix namespace ref
9 years ago
Yuri Tkachenko
561542f068
Redirects > Request & Response
9 years ago
Yuri Tkachenko
6242b54edb
added request(), response(), router(), view() @method reference to
...
Flight PHPDoc section. Also did some rearrangement of methods in
documentation.
9 years ago
Mike Cao
b9dfda3fd6
Do not send a new response for json requests.
9 years ago
Mike Cao
cabbb25fcc
Added support for custom template file extensions.
9 years ago
Mike Cao
7fd3594ac7
Added ability to perform case sensitive matching of URLs.
9 years ago
orthographic-pedant
abbd75cfdc
Fixed typographical error, changed availabe to available in README.
9 years ago
Mike Cao
1feeb95ff2
Encode reserved @ character in URLs.
9 years ago
Mike Cao
46b3bd6096
Bump version.
9 years ago
Mike Cao
486ec7c689
Application now initialized in Flight::app() instead of __callStatic.
9 years ago
Mike Cao
4bb1b49385
Merge pull request #185 from tamtamchik/composer-tests
...
added phpunit to composer and tests updated
10 years ago
Mike Cao
d719d56e07
Merge pull request #194 from edwardbrosens/master
...
add getter for protected headers property
10 years ago
Edward Brosens
afbf306336
add getter for protected headers property
10 years ago
Yuri Tkachenko
83ffddc800
added phpunit to composer and tests updated
10 years ago
Mike Cao
e715471a2c
Updated docs to include composer information.
10 years ago
Mike Cao
9ee72d401f
Merge pull request #182 from tamtamchik/patch-1
...
Correct PHPDoc for phpStorm
10 years ago
Yuriy Tkachenko
b187f3564f
Correct PHPDoc for phpStorm
...
make phpStorm correctly identify has and get functions
10 years ago
Mike Cao
9b0b527ac5
Bump version.
10 years ago
Mike Cao
dd096acff3
Merge pull request #178 from sethbattin/cacheheaderfix
...
include pragma='no-cache' in the cache header reset
10 years ago
Seth Battin
bb11ca47bc
include pragma='no-cache' in the cache header reset
10 years ago
Mike Cao
10750b5ce3
getBody should check for PATCH method.
10 years ago
Mike Cao
a32f2c2087
getMethod should return uppercase string.
10 years ago
Mike Cao
0c8b665304
Bump version. Minor syntax update.
10 years ago
Mike Cao
f28d7eed46
Merge pull request #165 from everflux/master
...
Provide content-length header if response has a body
10 years ago
everflux
268cf0cb66
Provide content-length header if response has a body
10 years ago
Mike Cao
7c50eb7cfb
Passing to a non-matching route should return a 404.
10 years ago
Mike Cao
a5f2ac8a15
Merge pull request #156 from terales/master
...
Added list of methods for autocomplete
10 years ago
Alexander
c4ab005462
Added list of methods for autocomplete
...
Added list of available methods to the PHPDoc section of `Flight` class. Inspired by suggestion: http://stackoverflow.com/a/26628288/1363799
10 years ago
Mike Cao
b43c13f0d1
Update VERSION
10 years ago
Mike Cao
7971ba40a2
Merge pull request #155 from zzplab/master
...
Using multiple template paths
10 years ago
Erwin
2f4210ad3f
Using multiple template paths
...
I want to use more template directory's along with the multiple flight.views.path during execution of the script. So want to be able to change it on the fly, during execution. And I want the extra template directory's to be outside of the normal flight.views.path.
I tried a lot of ways without changing the View.php but this change is simpel and works for me.
This way I can easily do:
Flight::render(TPL_PATH.'hello', ['name'=>'Bob'], 'header_content');
10 years ago