library/Garp/Model/Db/BindingManager.php
public static function getRecursion($subjectModel, $alias) {
        $key = self::getStoreKey($subjectModel, $alias);
        return !array_key_exists($key, static::$_recursion) ? 0 : static::$_recursion[$key];
    }
public static function getRecursion($subjectModel, $alias) {
        $key = self::getStoreKey($subjectModel, $alias);
        return !array_key_exists($key, static::$_recursion) ? 0 : static::$_recursion[$key];
    }
public static function getRecursion ( $ subjectModel , $ alias ) { $ key = self :: getStoreKey ( $ subjectModel , $ alias ) ; return ! array_key_exists ( $ key , static :: $ _recursion ) ? 0 : static :: $ _recursion [ $ key ] ; }
Return recursion level for two models
@param String $subjectModel
@param String $alias
@return Int
Return recursion level for two models