Carsten Brandt
f900f24ca9
Fixed namespace conflict with Markdown helper and Console helper
...
fixes #11425
9 years ago
Alexander Makarov
4f4fa6fdf0
Fixes #10710 : `yii\helpers\FileHelper::copyDirectory()` is now throwing exception when trying to copy a directory to itself or a subdirectory
9 years ago
Misbahul D Munir
87dd02a077
Remove unused code ( #11395 )
...
Using `Yii::createObject()` is enough to set config.
9 years ago
Mikk Tendermann
2f9395bbd6
fix #11299
9 years ago
Alexander Makarov
cfbe50e96d
Fixes #11026 : Fixed `StringHelper::truncateWords()` to count words properly for non-English text
9 years ago
Carsten Brandt
a46015124c
improved docs for Html::a() and absolute URLs
...
fixes #11216
9 years ago
Damian Zajkowski
3fb85fb84e
Fixing VarDumper for throwing PHP Fatal when dumping __PHP_Incomplete_Class. #11196 issue.
9 years ago
Alexander Makarov
c17f887583
Added `StringHelper::countWords()` that given a string returns number of words in it
9 years ago
Alexander Makarov
b6d26a12e9
Fixes #11052 : Fixed `HtmlPurifier` configuration sequence
9 years ago
fps01
258175149d
Fixes #11125 : Fixed `JSON_ERROR_SYNTAX` for `json_decode(null)` in PHP 7
9 years ago
Alexander Makarov
d3b5f4a284
Fixes #3656 : Encode / in "r" query parameter in docs as it really is
9 years ago
Carsten Brandt
d82bf74f41
fixed removal of empty lines in array in phpdoc controller
9 years ago
SilverFire - Dmitry Naumenko
5a425b2528
BaseArrayHelper::index() updated PHPDoc
9 years ago
Taras Gudz
91e2c71826
Fixes #@11071
9 years ago
Klimov Paul
e4d9ed5182
code style fix
9 years ago
Ni-san
77599dc179
fixes #11040 : make copyDirectory method work correctly with parameter 'recursive'
9 years ago
DrDeath72
e50b300a0f
string array replace change
...
shorten :D
9 years ago
Carsten Brandt
191f2a4943
fixed phpdoc type names
9 years ago
SilverFire - Dmitry Naumenko
438e5cfb5d
BaseArrayHelper::isTraversable() PHPDoc update
9 years ago
Sam Mousa
16a6af5fa8
Add helper function for checking if an object is an array-like object.
...
Added support for traversable objects in `BaseHtml` and `ArrayHelper`
9 years ago
Alexander Makarov
80e9331fe0
Spelling fixes, `BaseArrayHelper::index()` parameter `groupBy` renamed to `groups`
9 years ago
SilverFire - Dmitry Naumenko
d56d2d7a31
BaseArrayHelper::index() - 3rd parameter renamed from dimensions to groupBy
...
PHPDoc updated
9 years ago
Alexander Makarov
5c4e2d4372
Removed unnecessary parentheses
9 years ago
Daniel Gomez Pan
8b0f28f780
Add @since [skip ci]
9 years ago
Alexander Makarov
1ec972fbf7
Fixes #10610 : Added `BaseUrl::$urlManager` to be able to set URL manager used for creating URLs
9 years ago
Vladimir Khramov
ef8b0a2be0
parameter dimensions in ArrayHelper::index
9 years ago
Carsten Brandt
9b5f6cb188
prepare for 2.0.7 release
...
- adjust version
- build classmap
- build phpdoc @property annotations
- build mime-type file
9 years ago
Daniel Gomez Pan
cc7628e5d2
WIP #10764 : update docs [skip ci]
9 years ago
Daniel Gomez Pan
295bb3e173
WIP #10764 : adjusted Html::beginTag and Html::endTag methods to be consistent
9 years ago
Andrew Nester
78de315794
Fixed processing nested objects multisort in BaseArrayHelper
...
fixes #8348
close #10607
9 years ago
Carsten Brandt
f620f4de90
phpdoc fixes
9 years ago
Carsten Brandt
ef5ce2d4c1
missing `@since` annotations in helpers
9 years ago
Daniel Gomez Pan
cd7039e97c
WIP #10764
9 years ago
Andrew Nester
6acab778da
10629 - BaseStringHelper::truncateHtml fix - should not add suffix if words count less than needed #10629
9 years ago
Andrew Nester
ed23b97baf
#10574 - Fix for BaseArrayHelper to work with invalid characters in proper way
9 years ago
Carsten Brandt
f6dcb290ed
reverted c00b97a/#9915, this is expected behavior
...
When accessing non-existing properties it is expected behavior to throw an error.
This is the case in all other places.
It is also not reliably possible to determine whether a property exists beforehand.
it is not sufficient to call `property_exists()` as it may be available via `__get()`.
Instead of `property_exists()` or `isset()` it should call `$object->canGetProperty()` but this is not
guaranteed to be implemented and therefor doing such a check will not work in 2.0.x.
calling isset() may break code that works through __get() but has not implemented __isset() properly.
We may discuss this for 2.1 again but I am in favor of keeping it as is.
9 years ago
SilverFire - Dmitry Naumenko
f72e9d5bcf
Revert "#9915: changed behavior of ArrayHelper::getValue() according to @azureru suggestion"
...
This reverts commit 4b511fb9bc
.
9 years ago
Alexander Makarov
4b511fb9bc
#9915 : changed behavior of ArrayHelper::getValue() according to @azureru suggestion
9 years ago
youmad
77b0d30bf8
Divide by zero prevention in console progress bar
...
close #10541
9 years ago
SilverFire - Dmitry Naumenko
dcda2a2466
BaseHtml::checkboxList minor update
9 years ago
cohen
85c6a903dc
Enh #10390 : Added ability to disable outer tag for `\yii\helpers\BaseHtml::radiolist()`, `::checkboxList`
9 years ago
SilverFire - Dmitry Naumenko
8c86310003
BaseInflaector: PHPDoc updated
9 years ago
Klimov Paul
170c376648
`yii\helpers\VarDumper::dump()` now respects PHP magic method `__debugInfo()`
9 years ago
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
9 years ago
Angel Guevara
2d05b11f68
remove PHP_EOL
9 years ago
Angel Guevara
ec43f4c370
add separator around the items in `ul()`
9 years ago
Angel Guevara
d0ffb58efb
syntax error
9 years ago
Angel Guevara
7a2bbabbbd
add separator special option to `ul` and `listBox`
9 years ago
Angel Guevara
7618e4ee13
changes suggested by review.
9 years ago
Angel Guevara
5b67bc1822
use ArrayHelper::remove()
9 years ago