BaseArrayHelper updated

This commit is contained in:
Alexander Kochetov
2014-01-19 13:51:21 +04:00
parent a766a00027
commit 6051253e6e

View File

@ -33,7 +33,7 @@ class BaseArrayHelper
* 'id',
* 'title',
* // the key name in array result => property name
* 'createTime' => 'create_time',
* 'createTime' => 'created_at',
* // the key name in array result => anonymous function
* 'length' => function ($post) {
* return strlen($post->content);