Carsten Brandt
1e75427393
updated classmap and phpdoc
2014-03-24 23:26:30 +01:00
Carsten Brandt
a9e37b906c
fixed typo
2014-03-23 21:25:45 +01:00
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
Qiang Xue
a9546a9906
do not throw exception for Application::getCache() when cache is not installed.
2014-03-21 16:30:36 -04:00
Qiang Xue
b9eb5de96d
Fixes #2796 : Added BootstrapInterface.
2014-03-21 15:37:30 -04:00
Qiang Xue
be6b259c4e
A better fix.
2014-03-21 09:54:49 -04:00
Qiang Xue
993339f080
Fixes #2842
2014-03-21 09:50:58 -04:00
Qiang Xue
b1c4416218
Final touchup.
2014-03-21 00:02:15 -04:00
Qiang Xue
3c518c4207
Merge commit 'f605508bb2805d24df98037ea239f8f582deda0e' into feature-container
2014-03-20 23:51:02 -04:00
Qiang Xue
87df068eb0
DI WIP
2014-03-20 19:54:52 -04:00
Alexander Pletnev
a73abd9300
better to use strict comparison as much as possible
2014-03-19 19:51:51 +04:00
Dmitry Erofeev
0fa8f8cc01
fixed Theme::getPath()
2014-03-19 16:53:35 +04:00
Dmitry Erofeev
ac0a56e9d0
reverted deletion of Theme::getPath()
2014-03-19 16:29:59 +04:00
Dmitry Erofeev
b3053f4346
Made Theme::basePath optional fixes #2810
2014-03-19 15:43:37 +04:00
David Renty
ed70735b22
Changelog and doc
2014-03-19 10:48:20 +01:00
David Renty
dde5a00ce3
Merge branch 'master' of https://github.com/yiisoft/yii2
...
Conflicts:
framework/base/Formatter.php
tests/unit/framework/base/FormatterTest.php
2014-03-18 17:31:11 +01:00
Qiang Xue
530d7baabe
fixed test break.
2014-03-18 00:23:12 -04:00
Qiang Xue
a3274c5ffc
Fixed test break.
2014-03-18 00:13:02 -04:00
Qiang Xue
8c2e39235f
Turn module and application into DI containers.
2014-03-17 23:57:01 -04:00
Qiang Xue
d2c84606a9
Fixes #2775 : Added yii\base\Application::bootstrap to support running bootstrap classes when starting an application
2014-03-17 11:57:44 -04:00
Qiang Xue
b9287abf81
minor fixes.
2014-03-17 09:47:34 -04:00
David Renty
91e4ad5978
PSR-2 compliance
2014-03-17 12:02:26 +01:00
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
Qiang Xue
c01ffe7dc2
Fixes #2303 : support setting basePath and baseUrl as aliases during runtime.
2014-03-14 20:31:36 -04:00
David Renty
0fa5230cd0
Removed debug code, changed doc
2014-03-14 18:37:11 +01:00
David Renty
cb3eb9c6d8
Added support for inverted intervals (future time) and unit tests
2014-03-14 18:29:23 +01:00
ivokund
f84de98efb
Fixes #2735
...
Adds DateTimeInterface support for Formatter
2014-03-13 15:39:29 +02:00
David Renty
b5cd0a6f0c
asElapsedTime can now take a DateInterval string as a parameter
2014-03-12 16:58:12 +01:00
David Renty
b7cf618348
asElapsedTime style improvements
2014-03-12 16:02:45 +01:00
David Renty
f7871e2458
asElapsedTime can now take DateInterval as parameter
2014-03-12 15:57:20 +01:00
David Renty
a74fa20d2d
Typo
2014-03-12 14:51:20 +01:00
David Renty
ced45c5450
Call Yii::t everytime instead of passing a template variable
2014-03-12 14:49:28 +01:00
David Renty
fd7ed28221
Typo in asElapsedTime description
2014-03-12 14:38:00 +01:00
David Renty
e77ffe2c4a
Added asElapsedTime function
2014-03-12 14:29:49 +01:00
Carsten Brandt
40cb98bb02
updated @property annotations
2014-03-11 16:21:25 +01:00
Carsten Brandt
595f55c504
api doc improvements
2014-03-08 14:20:19 +01:00
Qiang Xue
35018bfb21
Refactored controller creation process.
2014-03-07 22:34:03 -05:00
Qiang Xue
ad19e332f4
Added back some toArray() implementations.
2014-03-07 22:05:45 -05:00
Qiang Xue
fad635440b
Fixes #2655 : Arrayable and ArrayableTrait are incompatible for some PHP versions.
2014-03-07 19:08:27 -05:00
Carsten Brandt
1b7e1cd027
Merge pull request #2605 branch 'feature' of https://github.com/mongosoft/yii2 into code-style
...
* 'feature' of https://github.com/mongosoft/yii2 :
returned back formatting language files
code style. WHILE
code style. FOR
code style. FOREACH
code style. operator IF
@param, @var, @property and @return must declare types as boolean, integer, string, array or null
short echo tags
short array syntax
Conflicts:
extensions/apidoc/commands/RenderController.php
extensions/apidoc/models/BaseDoc.php
extensions/apidoc/models/Context.php
extensions/apidoc/templates/bootstrap/Renderer.php
extensions/apidoc/templates/bootstrap/layouts/guide.php
extensions/apidoc/templates/bootstrap/layouts/main.php
extensions/apidoc/templates/bootstrap/views/index.php
extensions/apidoc/templates/html/Renderer.php
extensions/apidoc/templates/offline/views/index.php
extensions/apidoc/templates/offline/views/offline.php
extensions/apidoc/templates/online/views/index.php
extensions/elasticsearch/Connection.php
extensions/redis/ActiveQuery.php
framework/base/ErrorException.php
framework/helpers/BaseFileHelper.php
tests/unit/framework/helpers/FileHelperTest.php
2014-03-07 21:54:44 +01:00
Carsten Brandt
e2aacad8aa
Added links to PHP.net to apidoc
2014-03-07 19:41:43 +01:00
Qiang Xue
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
Alexander Makarov
96d131899f
Fixed ErrorException changes
2014-03-07 13:46:21 +04:00
Qiang Xue
11baf61977
Fixed unsetting relation bug.
2014-03-06 19:19:23 -05:00
Alexander Makarov
44558df59d
#2603 : yii\base\ErrorHandler now extends \ErrorHandler
2014-03-07 02:21:36 +04:00
Alexander Makarov
c5ec3550de
Removed unused "use" statements
2014-03-07 02:10:32 +04:00
Qiang Xue
e38c4225b2
Merge commit 'bdce87b242abbff800020deba0a5c2031fc2efe7' into feature-restapi
...
Conflicts:
framework/db/BaseActiveRecord.php
2014-03-06 00:00:33 -05:00
Qiang Xue
1b03dc8f4c
major features and documentation finished for REST API.
2014-03-05 23:52:33 -05:00
Qiang Xue
3f42d5826a
REST wip.
2014-03-05 13:29:24 -05:00
Qiang Xue
5474300c8b
fixed loading namespaceless controller classes.
2014-03-05 08:29:07 -05:00