e8d30f0c51
enable use of yii2 inside of phar packaged console applications
2016-04-04 10:32:50 +00:00
cd87d67f34
Global DOCS update: ~~~ replaced with ```
2015-12-02 23:15:28 +02:00
2d68840898
yii\base\Module::getLayoutPath()
fixed code style
2015-11-21 19:33:16 +02:00
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.
2015-11-21 19:28:06 +02:00
f11bdfa2a7
Grammar fix: followings -> following
2015-04-21 15:08:16 +02:00
c01804d7c9
Fixes #7775 : Added more strict check on controller IDs when they are being used to create controller instances on Windows
2015-03-25 21:54:06 -04:00
2f5345b63c
improved beforeAction docs
2015-03-21 12:13:03 +01:00
70fa53a20f
Update Controller.php and Module.php
...
beforeAction() code style:
1. Return early on error
2. Don't else-after-return
close #7804
2015-03-21 12:10:25 +01:00
710e70b8fd
Fixes #2037 : Dropped the support for using yii\base\Module
as concrete module classes
2014-10-02 13:31:31 -04:00
858ceb5039
Added yii\base\Application::loadedModules
2014-09-30 21:36:29 -04:00
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
2014-09-05 14:59:22 +02:00
ef1a6d20d1
When an ID is found to be in both Application::controllerMap
and Application::modules
, the former will take precedence
2014-09-04 23:34:11 -04:00
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
9e9175fe09
fixed typo
...
fixes #4480
2014-07-28 09:12:29 +02:00
b3260567c2
Mistype
2014-07-28 12:10:14 +08:00
390a6c782e
Fixes #4409 : Upper case letters in subdirectory prefixes of controller IDs were not properly handled
2014-07-23 22:10:13 -04:00
06f27758b3
Fixed typo. [skip ci]
2014-06-27 09:23:09 -04:00
910151d787
typo
...
[ci skip]
2014-06-27 11:33:18 +02:00
8e96623a56
Fixes #1452 : Added Module::getInstance()
to allow accessing the module instance from anywhere within the module
2014-06-26 22:04:41 -04:00
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
2014-06-20 17:40:00 +04:00
d1ab9f72ae
Finished application guide [skip ci]
2014-05-28 13:40:41 -04:00
44d7d5fdd8
fixed wrong usage of @see
2014-05-23 19:18:25 +02:00
e899406494
improved docs about application and module namespace
...
fixes #3539
2014-05-23 19:14:36 +02:00
f48a7aedfa
Fixes #3251 : controller should be created using DI container.
2014-04-25 10:10:51 -04:00
91965fd391
phpdoc formatting issues
2014-04-23 02:55:17 +02:00
0b29c9607d
fixed broken API links [skip ci]
2014-04-09 22:22:49 -04:00
586f5b87b0
Removed Application::preload
in favor of Application::bootstrap
2014-04-09 10:47:10 -04:00
50e338127d
Improved action filter and action execution flow by supporting installing action filters at controller, module and application levels
2014-04-04 23:30:59 -04:00
1e75427393
updated classmap and phpdoc
2014-03-24 23:26:30 +01:00
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
b1c4416218
Final touchup.
2014-03-21 00:02:15 -04:00
87df068eb0
DI WIP
2014-03-20 19:54:52 -04:00
8c2e39235f
Turn module and application into DI containers.
2014-03-17 23:57:01 -04:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
40cb98bb02
updated @property
annotations
2014-03-11 16:21:25 +01:00
35018bfb21
Refactored controller creation process.
2014-03-07 22:34:03 -05:00
bbea1ab19c
Fixes #2629 : Module::controllerPath
is now read only, and all controller classes must be namespaced under Module::controllerNamespace
2014-03-07 10:35:15 -05:00
e38c4225b2
Merge commit 'bdce87b242abbff800020deba0a5c2031fc2efe7' into feature-restapi
...
Conflicts:
framework/db/BaseActiveRecord.php
2014-03-06 00:00:33 -05:00
1b03dc8f4c
major features and documentation finished for REST API.
2014-03-05 23:52:33 -05:00
5474300c8b
fixed loading namespaceless controller classes.
2014-03-05 08:29:07 -05:00
10061359ed
Fixes #1467 : Added support for organizing controllers in subdirectories
2014-03-04 23:30:48 -05:00
49010df192
Changed Controller::afterAction()
, Module::afterAction()
and ActionFilter::afterAction()
to pass $result
by value instead of reference
2014-02-27 10:52:17 -05:00
97917e6580
Revert "Added yii\base\Module::getParam($name, $defaultValue = null)
to conveniently work with application parameters"
...
This reverts commit 3b95aa9cd1eb39a00a4d32f0e05ebd78f858dad3.
2014-02-05 23:18:36 +04:00
3b95aa9cd1
Added yii\base\Module::getParam($name, $defaultValue = null)
to conveniently work with application parameters
2014-02-05 18:20:21 +04:00
fc35bc1d49
Removing abstract
in Module
2014-01-18 19:19:57 +02:00
0c38655217
psr-4 move
2014-01-10 21:41:43 -05:00
0d814fa523
Moved "framework" to "iii".
2013-05-09 12:00:15 -04:00
0b4d47d951
Support default standard component class.
2013-04-27 22:02:08 -04:00
a578938df7
Added beforeAction and afterAction to Module.
2013-04-24 18:59:54 -04:00
990489354d
corrected exception class
2013-04-18 23:57:09 +04:00