Carsten Brandt
e493843b1c
improve `@deprecated` annotations
7 years ago
Brandon Kelly
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
7 years ago
Robert Korulczyk
5a8c3d537b
Enable `phpdoc_summary` rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
7 years ago
Carsten Brandt
393fc2744a
Added yii\base\Object for backwards compatibility
...
fixes #7936
close #14478
7 years ago
Carsten Brandt
69673c0c94
Rename Object -> BaseObject for PHP 7.2 compatibility
...
issue #7936
7 years ago
Robert Korulczyk
fe8a0a6a2e
Enable `no_useless_else` rule in php-cs-fixer ( #14420 )
7 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
9 years ago
╃巡洋艦㊣
586684b050
2.0.5 bf7edc5
9 years ago
Carsten Brandt
624db0e678
updated Component::__isset() docs
...
close #7587
10 years ago
Qiang Xue
1088fd496d
Added support to `yii\di\Container` to instantiate and configure an object that implements `yii\base\Configurable`.
10 years ago
╃巡洋艦㊣
1468bd4d3d
version 2.0.1 84b42ab
10 years ago
db6178
2bebfee5aa
Update Object.php
10 years ago
Carsten Brandt
c3fe4aa0fd
`@inheritdoc` from interfaces and params
11 years ago
Alexander Makarov
4d235f9f8b
Fixed exception message to match the one in Component
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
Carsten Brandt
40cb98bb02
updated `@property` annotations
11 years ago
Carsten Brandt
8f491f2836
moved `@include` tags of api docs directly into the class
11 years ago
Qiang Xue
9aa006e5ea
Removed implementation of `Arrayable` from `yii\Object`
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Carsten Brandt
539e233d9c
massive improvement on class documentation
...
- added example code for application components
- added missing short description
[ci skip]
11 years ago
Taras Gudz
9b95a81b0c
Fixed the rest phpDocs [skip ci]
11 years ago
resurtm
0b82575a0b
Add missing @throws PHPDoc declaration.
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Qiang Xue
91b6e2945a
Removed the support for calling anonymous function returned as a property value.
11 years ago
Qiang Xue
84dd19d76f
Fixed the issue that Object/Component doesn't support using anonymous function as normal property values.
11 years ago
Carsten Brandt
9a4d7ff15b
Exception message when getting write-only property
11 years ago
Carsten Brandt
7fa81949bf
various documentation changes
11 years ago
Carsten Brandt
7a55640670
Added hasMethod() to Component and Object class
...
this allows implementing __call() in behaviors
See this forum topic for details:
http://www.yiiframework.com/forum/index.php/topic/46629-invoke-behavior-method-through-php-magic-method-call-dosent-work/
11 years ago
crtlib
80f1fda740
checkVar => checkVars
11 years ago
Qiang Xue
d4910ee4f5
Put back Yii::getObjectVars() and fixed infinite loop in Object::toArray().
11 years ago
Qiang Xue
0c3bcc467d
Moved toArray() from YiiBase to ArrayHelper.
11 years ago
Qiang Xue
a951e1c8e1
Replaced Jsonable with Arrayable.
...
Added support for different response formats.
Support for error response in different formats.
11 years ago
Qiang Xue
29ac3aeea6
Added Jsonable support.
11 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Qiang Xue
c5bad9ea1b
Fixes issue #172 : Added Object::className().
12 years ago
Qiang Xue
55e8db9b97
improved doc.
12 years ago
Qiang Xue
de5c304f64
finished fragment caching.
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago
Qiang Xue
6dd495b65f
Added init and afterFind events to AR.
...
Implemented scope support.
12 years ago
Qiang Xue
ed8b795295
renamed exception classes.
12 years ago
Qiang Xue
04cf537394
move back api docs.
12 years ago
Qiang Xue
88672ed1da
furnishing base classes.
12 years ago
Qiang Xue
8e05e6e62d
changed copyright line.
12 years ago
Qiang Xue
e5cefb0133
moved api docs.
12 years ago
Qiang Xue
faef457f2c
Fixed Object class.
12 years ago
Qiang Xue
b1047e7ff6
refactored object creation.
...
added more exception classes.
working on request and response classes.
12 years ago
Qiang Xue
1599a2cf25
Removed Object::evaluateExpression().
...
Finished ExpressionDependency.
13 years ago