[fix] incorrect handling of empty resultset in case of PHP Yii
[fix] icorrect handling of empty result set for CakePHP
[fix] aliases for field names in the Gantt