Yii 1 Clear Cache
Yii::app()->cache->flush();
Index out of bounds
Yii::app()->cache->flush();
Yii::app()->db->schema->getTables();
// clear the cache of all loaded tables
Yii::app()->db->schema->refresh();