library/Garp/Model/Db/BindingManager.php
public static function getStoreKey($subjectModel, $alias) {
        if ($subjectModel == $alias) {
            $subjectModel .= '1';
            $alias .= '2';
        }
        $models = array($subjectModel, $alias);
        sort($models);
        $key = implode('.', $models);
        return $key;
    }
public static function getStoreKey($subjectModel, $alias) {
        if ($subjectModel == $alias) {
            $subjectModel .= '1';
            $alias .= '2';
        }
        $models = array($subjectModel, $alias);
        sort($models);
        $key = implode('.', $models);
        return $key;
    }
public static function getStoreKey ( $ subjectModel , $ alias ) { if ( $ subjectModel == $ alias ) { $ subjectModel .= '1' ; $ alias .= '2' ; } $ models = array ( $ subjectModel , $ alias ) ; sort ( $ models ) ; $ key = implode ( '.' , $ models ) ; return $ key ; }
Create a key by which a binding gets stored.
@param String $subjectModel
@param String $alias
@return String
Create a key by which a binding gets stored .