SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
9 years ago
SilverFire - Dmitry Naumenko
2d68840898
`yii\base\Module::getLayoutPath()` fixed code style
9 years ago
Luis Hernández
d08ef83e2a
Controller->viewPath can be set, fixes #10086
...
Added setViewPath() that allows setting the base path for the
controller's views. Changed getViewPath() to return the value that was
explicitly set, before defaulting to the usual module-based path.
9 years ago
Nikola Kovacs
f11bdfa2a7
Grammar fix: followings -> following
10 years ago
Qiang Xue
c01804d7c9
Fixes #7775 : Added more strict check on controller IDs when they are being used to create controller instances on Windows
10 years ago
Carsten Brandt
2f5345b63c
improved beforeAction docs
10 years ago
tom--
70fa53a20f
Update Controller.php and Module.php
...
beforeAction() code style:
1. Return early on error
2. Don't else-after-return
close #7804
10 years ago
Qiang Xue
710e70b8fd
Fixes #2037 : Dropped the support for using `yii\base\Module` as concrete module classes
10 years ago
Qiang Xue
858ceb5039
Added `yii\base\Application::loadedModules`
10 years ago
Carsten Brandt
73cb5f8aac
changed syntax for referencing the guide in apidoc
...
New syntax:
```
[link to guide](guide:file-name.md)
[link to guide](guide:file-name.md#subsection)
```
fixes #4719
10 years ago
Qiang Xue
ef1a6d20d1
When an ID is found to be in both `Application::controllerMap` and `Application::modules`, the former will take precedence
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
3a1e0f3a5c
property codestyle framework
10 years ago
Carsten Brandt
9e9175fe09
fixed typo
...
fixes #4480
10 years ago
Alexey Samoylov
b3260567c2
Mistype
10 years ago
Qiang Xue
390a6c782e
Fixes #4409 : Upper case letters in subdirectory prefixes of controller IDs were not properly handled
10 years ago
Qiang Xue
06f27758b3
Fixed typo. [skip ci]
10 years ago
Carsten Brandt
910151d787
typo
...
[ci skip]
10 years ago
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
11 years ago
Carsten Brandt
e899406494
improved docs about application and module namespace
...
fixes #3539
11 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
...
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