library/Garp/Model/Db/BindingManager.php
public static function getBindings($subjectModel = null) {
        if (is_null($subjectModel)) {
            return static::$_bindings;
        }
        return !empty(static::$_bindings[$subjectModel]) ? static::$_bindings[$subjectModel] : array();
    }
public static function getBindings($subjectModel = null) {
        if (is_null($subjectModel)) {
            return static::$_bindings;
        }
        return !empty(static::$_bindings[$subjectModel]) ? static::$_bindings[$subjectModel] : array();
    }
public static function getBindings ( $ subjectModel = null ) { if ( is_null ( $ subjectModel ) ) { return static :: $ _bindings ; } return ! empty ( static :: $ _bindings [ $ subjectModel ] ) ? static :: $ _bindings [ $ subjectModel ] : array ( ) ; }
Get all bindings to a certain model
@param String $subjectModel
@return Array
Get all bindings to a certain model