b7d6f6141a
Added isAssociative() and isIndexed() to yii\helpers\ArrayHelper
2014-04-07 16:02:55 -04:00
4bec5fe748
Update BaseStringHelper.php
2014-04-07 09:29:38 +01:00
164459f90a
Fixed test break and JSON MIME type. Fixes issue #2978 .
2014-04-04 13:54:04 +02:00
50efd32322
Update BaseStringHelper.php
...
Updated to use mb_* functions
2014-04-01 13:04:16 +01:00
57a948e755
Update BaseStringHelper.php
...
Length check.
2014-04-01 12:26:26 +01:00
ad039e125a
New truncate and truncateWords methods
...
New truncate and truncateWords methods, https://github.com/yiisoft/yii2/issues/2941
2014-04-01 10:14:43 +01:00
27659d1776
fixed FileHelper private method static call
2014-03-26 17:51:52 +01:00
67dd874e0c
renamed console controller optoins param $id to $actionId
2014-03-26 17:51:52 +01:00
0b2aafc780
fixed private / self in helpers
...
fixes #2886
2014-03-26 16:03:42 +01:00
d774e7f127
fixed recursive call of ArrayHelper::toArray()
2014-03-26 15:13:26 +01:00
b6b7a8f235
removed srand()
2014-03-23 18:47:18 -04:00
94fb8672d1
fixed url helper to not prepend to relative URLs
2014-03-23 21:32:42 +01:00
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
6e8c460273
Fixes #2724 : consistent use of absolute and relative routes.
2014-03-22 20:17:31 -04:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
ed5007e44b
more reference fixes
2014-03-12 12:47:16 +03:00
d5df12039f
fixed another reference
2014-03-12 12:45:16 +03:00
3b1d558942
fixed refences
2014-03-12 12:44:18 +03:00
6fff5662df
better use @see for See in phpdoc
2014-03-11 05:38:35 +01:00
c94a40e90d
added a large amount of missing documentation
2014-03-11 05:38:35 +01:00
252f49b97a
doc fixes.
2014-03-10 21:31:06 -04:00
842e7eb573
Added tests, final Url helper adjustments
2014-03-11 02:12:13 +04:00
bddad5280c
Combined $schema and $absolute into $schema
2014-03-10 20:29:24 +04:00
577f8a5c50
Added separate schema and absolute parameters
2014-03-10 20:11:06 +04:00
2b842ecc57
Moded URL management methods from controller to Url helper, updated docs
2014-03-10 19:40:32 +04:00
1276970ce5
Made $url default consistent
2014-03-10 17:57:24 +04:00
aeb25c39e1
Further adjustments for Url helper
2014-03-10 17:52:03 +04:00
338bc86e6d
Fixed absolute URLs in Url::to
2014-03-10 15:54:25 +04:00
67af6bc84a
Fixed inconsistent usage of getters
2014-03-10 15:50:43 +04:00
cb5a889621
Fixed recursion
2014-03-10 15:39:31 +04:00
5d6c314d4e
Adjusted URL helper, fixed usage
2014-03-10 15:25:15 +04:00
92b381795b
Adjusted Url helper methods
2014-03-10 01:34:05 +04:00
73b7e03ec3
Argument for Url::base is now optional
2014-03-09 19:09:03 +04:00
8df9dddd70
Added Url::createAbsolute, adjusted signiatures
2014-03-09 18:24:27 +04:00
2cd5f982fe
Renamed methods, added Url::getHome
2014-03-09 18:15:37 +04:00
14fc5bd1de
Added Url::canonical
2014-03-09 18:10:36 +04:00
5420517e21
Added Url::rememberReturnUrl
2014-03-09 18:07:54 +04:00
e758608a5a
Added Url::asset
2014-03-09 18:02:24 +04:00
3400eb5215
#2630 : yii\heplers\Html::url moved to new yii\helpers\Url::create
2014-03-09 16:41:55 +04:00
fad635440b
Fixes #2655 : Arrayable and ArrayableTrait are incompatible for some PHP versions.
2014-03-07 19:08:27 -05:00
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
e38c4225b2
Merge commit 'bdce87b242abbff800020deba0a5c2031fc2efe7' into feature-restapi
...
Conflicts:
framework/db/BaseActiveRecord.php
2014-03-06 00:00:33 -05:00
3777ec2bd3
fixed > 100 typos introduced by me :-)
2014-03-05 02:38:59 +01:00
c64ab9d7fc
Fixes #2624 : Html::textArea() should respect "name" option.
2014-03-04 19:34:09 -05:00
b0ef4c9084
Removed unused variables
2014-03-04 21:46:30 +04:00
d3171b6cfb
fix code style php5.4 syntax
2014-03-04 06:37:49 +02:00
045eb9f7ee
Inline control structures are not allowed
2014-03-04 06:32:37 +02:00
eaaa5b1bb5
fix code style
2014-03-04 06:12:30 +02:00
35651ea122
fix code style Expected 1 space after FUNCTION keyword; 0 found
2014-03-04 05:53:06 +02:00
0f50e038c8
fix phpDoc, added @throws annotation BaseFileHelper::copyDirectory
2014-03-04 05:05:11 +02:00