yiisoft/yii2 — pull request #2942 by Alex-Code (2014-04-01 09:17:01+00:00)
Title: New truncate and truncateWords methods

New truncate and truncateWords methods, resolves #2941