library/Garp/Cache/Manager.php
public static function getTagsFromModel(Garp_Model_Db $model) {
        $tags = array(get_class($model));
        foreach ($model->getBindableModels() as $modelName) {
            if (!in_array($modelName, $tags)) {
                $tags[] = $modelName;
            }
        }
        return $tags;
    }
public static function getTagsFromModel(Garp_Model_Db $model) {
        $tags = array(get_class($model));
        foreach ($model->getBindableModels() as $modelName) {
            if (!in_array($modelName, $tags)) {
                $tags[] = $modelName;
            }
        }
        return $tags;
    }
public static function getTagsFromModel ( Garp_Model_Db $ model ) { $ tags = array ( get_class ( $ model ) ) ; foreach ( $ model -> getBindableModels ( ) as $ modelName ) { if ( ! in_array ( $ modelName , $ tags ) ) { $ tags [ ] = $ modelName ; } } return $ tags ; }
Get cache tags used with a given model.

@param Garp_Model_Db $model
@return Array
Get cache tags used with a given model .