76 Commits (02545ce7a3db4ece1a40783eed7586f95dc58cbe)

Author SHA1 Message Date
Qiang Xue 8e96623a56 Fixes #1452: Added `Module::getInstance()` to allow accessing the module instance from anywhere within the module 10 years ago
Alexander Makarov 0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 10 years ago
Qiang Xue d1ab9f72ae Finished application guide [skip ci] 10 years ago
Carsten Brandt 44d7d5fdd8 fixed wrong usage of @see 10 years ago
Carsten Brandt e899406494 improved docs about application and module namespace 10 years ago
Qiang Xue f48a7aedfa Fixes #3251: controller should be created using DI container. 11 years ago
Carsten Brandt 91965fd391 phpdoc formatting issues 11 years ago
Qiang Xue 0b29c9607d fixed broken API links [skip ci] 11 years ago
Qiang Xue 586f5b87b0 Removed `Application::preload` in favor of `Application::bootstrap` 11 years ago
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 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" 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 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" 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 11 years ago
Qiang Xue 6b41d41fd9 Fixes #711. 11 years ago