Qiang Xue
50e338127d
Improved action filter and action execution flow by supporting installing action filters at controller, module and application levels
11 years ago
Carsten Brandt
1e75427393
updated classmap and phpdoc
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
Qiang Xue
b1c4416218
Final touchup.
11 years ago
Qiang Xue
87df068eb0
DI WIP
11 years ago
Qiang Xue
8c2e39235f
Turn module and application into DI containers.
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Carsten Brandt
40cb98bb02
updated `@property` annotations
11 years ago
Qiang Xue
35018bfb21
Refactored controller creation process.
11 years ago
Qiang Xue
bbea1ab19c
Fixes #2629 : `Module::controllerPath` is now read only, and all controller classes must be namespaced under `Module::controllerNamespace`
11 years ago
Qiang Xue
1b03dc8f4c
major features and documentation finished for REST API.
11 years ago
Qiang Xue
5474300c8b
fixed loading namespaceless controller classes.
11 years ago
Qiang Xue
10061359ed
Fixes #1467 : Added support for organizing controllers in subdirectories
11 years ago
Qiang Xue
49010df192
Changed `Controller::afterAction()`, `Module::afterAction()` and `ActionFilter::afterAction()` to pass `$result` by value instead of reference
11 years ago
Alexander Makarov
97917e6580
Revert "Added `yii\base\Module::getParam($name, $defaultValue = null)` to conveniently work with application parameters"
...
This reverts commit 3b95aa9cd1
.
11 years ago
Alexander Makarov
3b95aa9cd1
Added `yii\base\Module::getParam($name, $defaultValue = null)` to conveniently work with application parameters
11 years ago
Veaceslav Medvedev
fc35bc1d49
Removing `abstract` in Module
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Qiang Xue
b09f709adc
Fixed build break.
11 years ago
Carsten Brandt
d3a181c674
fixed controllerMap docs in Module
...
fixes #1541
11 years ago
Qiang Xue
d3a450f5fd
doc fix.
11 years ago
Qiang Xue
337b1b08b5
Fixes #1298 : supporting route with trailing slash.
11 years ago
Qiang Xue
210cbda732
Fixes #1296 : stricter check of dashes in route.
11 years ago
slavcodev
b0b1c27c85
Fix phpDoc var tag format
11 years ago
Alexander Mohorev
5d17dd06d1
Specify the exact type of the exception.
11 years ago
Alexander Makarov
d5fd2bfe98
Removed re-declaration of $preload from Application
11 years ago
Qiang Xue
98bd4041dc
adjusted calling sequence within init().
11 years ago
Alexander Makarov
8e1199b0f6
Moved setting controllerNamespace back to init
11 years ago
Alexander Makarov
9434cc8f40
Moved Application::$controllerNamespace init into variable declaration, reordered Module::__construct.
11 years ago
Alexander Makarov
6bcacec946
Revert "Better handling of trying to configure already instantiated component"
...
This reverts commit 6b15768a3f
.
11 years ago
Alexander Makarov
54e1abaa7b
Better Module::init refactoring
11 years ago
Alexander Makarov
3e2bcfdf52
Refactored Module::setBasePath to remove instanceof condition
11 years ago
Alexander Makarov
e8eccc281d
Refactored instanceof in Module into method in Application
11 years ago
Alexander Makarov
6b15768a3f
Better handling of trying to configure already instantiated component
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Qiang Xue
8293e4d9d7
Refactored getModule and hasModule.
11 years ago
Luciano Baraglia
bce3afcca2
Module::getModule and Module::hasModule support for sub-modules - see #983
11 years ago
Niko Wicaksono
2765bcccf8
Use str_replace() rather than implode-explode
11 years ago
Qiang Xue
a9991d4e91
CRUD WIP
11 years ago
Carsten Brandt
91c16782ef
finalized PhpDocController
...
- cleanup API and usage, add documetation link
- introduced @property feature in getter or setter which has precedence
over @return or @param tag if present
11 years ago
Qiang Xue
6b41d41fd9
Fixes #711 .
11 years ago
Qiang Xue
e433c98ed4
Fixes #599
11 years ago
Qiang Xue
203f4bfe3e
Fixes issue #643
11 years ago
Qiang Xue
12c48d1ae4
Refactored logging.
11 years ago
Qiang Xue
3a365dae49
Added new events.
11 years ago
Qiang Xue
611052c4cf
Support preloading modules
11 years ago
Qiang Xue
3e18479d1f
Fixes issue #545 : PageCache doesn't work.
11 years ago
Qiang Xue
f18d6df625
Revert "Merge pull request #548 from cebe/action-response"
...
This reverts commit 9d7597d61a
, reversing
changes made to 6b6390f72b
.
11 years ago
Carsten Brandt
b138199c59
implementation of Response tied to actions
...
Result of a discussion with @qiangxue
- there is not global Yii::$app->response anymore, every action has
dedicated response class
- implementation allows using HMVC pattern now, nested actions do not
interfer
11 years ago
Qiang Xue
420637443c
Refactored the way of sending response in controller actions.
11 years ago