Qiang Xue
2a71c72d7c
fixes #1066 : Added ActiveForm::validate() and validateMultiple()
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Alexander Makarov
6f9785a293
fixes #995
11 years ago
Carsten Brandt
1600889f4e
added isAttributeActive to Model
...
consistent api for safe and required
11 years ago
Alexander Makarov
6d25d3aef6
Added info about custom validator method signature to Model::rules phpdoc
11 years ago
Qiang Xue
b16bf0691a
fixed typo
11 years ago
Qiang Xue
fccd8185b5
Enhanced the default implementation of Model::scenarios() to return all scenarios found in rules().
11 years ago
Carsten Brandt
91c16782ef
finalized PhpDocController
...
- cleanup API and usage, add documetation link
- introduced @property feature in getter or setter which has precedence
over @return or @param tag if present
11 years ago
Carsten Brandt
1d622b65c3
fixed docs about error methods in Model
11 years ago
Qiang Xue
d1c41fe144
changed to trace from info.
11 years ago
Qiang Xue
4727ac8f1d
Refactored the feature of transactional operations.
11 years ago
Qiang Xue
3d5388ff2b
Reorganized captcha code.
11 years ago
Sw3rtas
ab27d16efd
* Fixed Model::loadMultiple() when populating from formName()
...
* Documentation corrections for data population and quoting names in SQL query
12 years ago
Qiang Xue
452fe3e3b0
delay validation of scenario to validate().
12 years ago
Qiang Xue
6c2cf9a268
Removed redundant code.
12 years ago
Qiang Xue
55daae4773
Fixes issue #589 : validate the scenario name.
12 years ago
Qiang Xue
16dcd9701f
Added Model::loadMultiple() and validateMultiple().
12 years ago
Qiang Xue
9cf82b3ae1
Added Model::load(). Added Controller::refresh() and redirect().
12 years ago
Qiang Xue
6c5dfc04f7
Added default value for error in Model::addError().
12 years ago
Alexander Kochetov
a788f505fb
Model::formName() correct PHP 5.3 code
12 years ago
Qiang Xue
a951e1c8e1
Replaced Jsonable with Arrayable.
...
Added support for different response formats.
Support for error response in different formats.
12 years ago
Qiang Xue
29ac3aeea6
Added Jsonable support.
12 years ago
Antonio Ramirez
641e6ee7cf
ported inflection methods from StringHelper to Inflector helper class
12 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Qiang Xue
0005b07d29
Removed Vector and Dictionary.
12 years ago
resurtm
a54c1cd684
Fixes #226 : atomic operations and transaction support in AR.
12 years ago
resurtm
c98628d42e
CS fixes.
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Qiang Xue
bb5b6a4191
Finished FileValidator and UploadedFile.
...
Added Model::formName().
12 years ago
Qiang Xue
e7295ad564
Use __METHOD__ as log category.
12 years ago
Alexander Makarov
7b73fdff5c
Better validation rules validity check
12 years ago
Alexander Makarov
0b265f0e36
A bit more friendly behavior for unsetting a model attribute
12 years ago
Qiang Xue
1fbf81be57
User WIP.
12 years ago
Alexander Makarov
66fcf622aa
Fixed Model::getFirstErrors()
12 years ago
Qiang Xue
884977a724
renamed util to helpers.
12 years ago
Qiang Xue
b71e83016f
ActiveForm WIP
12 years ago
Qiang Xue
1f522d22b4
sort WIP
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago
Qiang Xue
76b153a368
fixed event doc.
12 years ago
Qiang Xue
373e6a705e
refactored event declaration convention.
12 years ago
Qiang Xue
6ed01e9645
DB cleanup.
12 years ago
Qiang Xue
8e05e6e62d
changed copyright line.
12 years ago
Qiang Xue
44af0aa97a
AR wip
12 years ago
Qiang Xue
377181a008
new AR WIP
12 years ago
Qiang Xue
e828cc6654
changed the default behavior of scenarios()
12 years ago
Qiang Xue
fee2c998f8
updated the default value of scenarios()
12 years ago
Qiang Xue
da786f657a
Implemented new rules and safe attributes
12 years ago
Qiang Xue
b7a7800fec
Fixed constructors.
12 years ago
Qiang Xue
b1047e7ff6
refactored object creation.
...
added more exception classes.
working on request and response classes.
13 years ago
Qiang Xue
cf6d269954
...
13 years ago