24 Commits

Author SHA1 Message Date
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
6f9785a293 fixes #995 2013-10-17 12:30:41 +04:00
1600889f4e added isAttributeActive to Model
consistent api for safe and required
2013-10-13 19:50:14 +02:00
6d25d3aef6 Added info about custom validator method signature to Model::rules phpdoc 2013-09-06 18:44:02 +04:00
b16bf0691a fixed typo 2013-09-05 23:37:15 -04:00
fccd8185b5 Enhanced the default implementation of Model::scenarios() to return all scenarios found in rules(). 2013-09-05 22:39:40 -04:00
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
2013-08-28 18:58:59 +02:00
1d622b65c3 fixed docs about error methods in Model 2013-08-28 15:26:00 +02:00
d1c41fe144 changed to trace from info. 2013-08-10 12:22:32 -04:00
4727ac8f1d Refactored the feature of transactional operations. 2013-08-07 22:22:23 -04:00
3d5388ff2b Reorganized captcha code. 2013-08-03 07:20:39 -04:00
ab27d16efd * Fixed Model::loadMultiple() when populating from formName()
* Documentation corrections for data population and quoting names in SQL query
2013-07-03 23:02:32 +03:00
452fe3e3b0 delay validation of scenario to validate(). 2013-07-01 19:39:56 -04:00
6c2cf9a268 Removed redundant code. 2013-07-01 07:14:28 -04:00
55daae4773 Fixes issue #589: validate the scenario name. 2013-06-30 18:45:05 -04:00
16dcd9701f Added Model::loadMultiple() and validateMultiple(). 2013-06-26 09:02:42 -04:00
9cf82b3ae1 Added Model::load(). Added Controller::refresh() and redirect(). 2013-06-26 08:34:27 -04:00
6c5dfc04f7 Added default value for error in Model::addError(). 2013-06-21 14:19:41 -04:00
c210de9d71 Merge pull request #556 from creocoder/php5.3-way-to-get-namespace
Model::formName() and ActiveRecord::getNamespacedClass() PHP 5.3 way
2013-06-19 05:13:52 -07:00
a788f505fb Model::formName() correct PHP 5.3 code 2013-06-19 15:01:30 +04:00
a951e1c8e1 Replaced Jsonable with Arrayable.
Added support for different response formats.
Support for error response in different formats.
2013-06-14 16:26:33 -04:00
29ac3aeea6 Added Jsonable support. 2013-06-07 11:02:26 -04:00
641e6ee7cf ported inflection methods from StringHelper to Inflector helper class 2013-05-22 08:34:17 +02:00
f72105166c reorganized the main repo to satisfy PSR-0. 2013-05-21 21:19:05 -04:00