Carsten Brandt
3c400dbca8
fixed file PHPdoc
...
issue #3026
11 years ago
Carsten Brandt
27659d1776
fixed FileHelper private method static call
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
AlexGx
d3171b6cfb
fix code style php5.4 syntax
11 years ago
AlexGx
045eb9f7ee
Inline control structures are not allowed
11 years ago
AlexGx
eaaa5b1bb5
fix code style
11 years ago
AlexGx
35651ea122
fix code style `Expected 1 space after FUNCTION keyword; 0 found`
11 years ago
AlexGx
0f50e038c8
fix phpDoc, added @throws annotation BaseFileHelper::copyDirectory
11 years ago
Alexander Mohorev
95ea1c20bb
code style. FOREACH
11 years ago
Alexander Mohorev
b2f1b00bf2
code style. operator IF
11 years ago
Alexander Mohorev
6e7edfdf5b
short array syntax
11 years ago
Carsten Brandt
f9dee9c951
Fixed an issue with Filehelper and not accessable directories
...
which resulted in endless loop
http://www.yiiframework.com/forum/index.php/topic/50982-cfilehelper-bug-security-flaw/
11 years ago
Carsten Brandt
21ae27b306
updated phpdoc properties
11 years ago
John Was
26564fb9b5
fixed code style for assignments inside if conditions
11 years ago
John Was
07ce08d970
updated helpers/BaseFileHelper::findFiles description and comments in messages/config.php
11 years ago
John Was
f90e594f4f
remove _FLAG from PATTERN_FLAG constants
11 years ago
John Was
b2b10d1685
more unit tests for helpers/FileHelper::findFiles using new wildcard exceptions matching
11 years ago
Alexander Makarov
1e602adb6e
- Fixed BaseFileHelper::localize docs.
...
- DbMessageSource now performs UNION ALL.
- Fixed message merging for php and po.
- Updated tests.
11 years ago
Alexander Makarov
8bdc437bc2
Fixes #2079 :
...
- i18n now falls back to `en` from `en-US` if message translation isn't found
- View now falls back to `en` from `en-US` if file not found
- Default `sourceLanguage` and `language` are now `en`
11 years ago
John Was
6a84bfffba
refactored flag names
11 years ago
John Was
86b4c4ee0a
improved comments, method visiblity and exceptions
11 years ago
John Was
49e2c49384
advanced file excluding/including ported from git
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Florian Fackler
ff7c25ea7b
Fixes #1497 (wrong file rendered if language != sourceLanguage)
11 years ago
Alexander Makarov
26767735dc
Renamed byte methods, moved path methods back to StringHelper
11 years ago
Alexander Makarov
5f2a612c78
Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods
11 years ago
Qiang Xue
8d68044982
Fixes #1373 : optimized FileHelper::filterPath
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Qiang Xue
c4f4e52a5a
fixed test break.
11 years ago
Qiang Xue
efef0e52ca
Fixed beforeCopy option.
11 years ago
Alexander Makarov
40629ca49b
Added missing beforeCopy option to FileHelper::copyDirectory
...
It was mentioned in AssetManager::publish phpdoc.
11 years ago
Alexander Makarov
b873f9f242
Fixes #915 : helper classes renamed again
11 years ago
Alexander Makarov
76cab3ea64
Renamed base helper classes
11 years ago
Carsten Brandt
4b7f5a728a
improved control over and handling of file and dir permissions
...
- rename FileHelper::mkdir for API consistency
- changed default permission for directories to 775 instead of 777
- added some properties to classes that deal with files to allow control
over directory permissions.
11 years ago
Qiang Xue
a6cd7b72bb
refactored helper organization.
11 years ago
Qiang Xue
e11ce60023
fixed the "only" option for FileHelper::findFiles()
11 years ago
Qiang Xue
227a831b8f
Improved FileHelper::filterPath()
11 years ago
Qiang Xue
d56739689c
Enhanced file options for FileHelper.
11 years ago
Qiang Xue
03e07f4340
cleaned up "use" statements.
11 years ago
Qiang Xue
531ca690eb
refactored the message command.
11 years ago
Qiang Xue
05cca15459
Removed "fileTypes" option.
11 years ago
Mojtaba Salehi
d97512e774
Call static::mkdir(..)
11 years ago
Qiang Xue
a8d2eded98
Fixing test breaks.
11 years ago
Qiang Xue
040db44fbd
refactored FileHelper.
11 years ago
Qiang Xue
2a30e32912
FileHelper refactoring WIP
11 years ago
Paul Klimov
dc8c71f409
"StringHelper::basename()" has been replaced by plain "basename" at "FileHelper".
11 years ago
Klimov Paul
40a005d543
"yii\helpers\StringHelper" usage has been added to "yii\helpers\base\FileHelper".
11 years ago
Klimov Paul
7697f21592
"filter" callback option has been added to "yii\helpers\base\FileHelper::findFiles()".
11 years ago
Klimov Paul
12d94c4a35
Doc comments at "yii\helpers\base\FileHelper::findFiles()" have been recomposed using markdown format.
11 years ago