コード例 #1
0
ファイル: ReferencedList.js プロジェクト: endel/ng-admin
    /**
     * @constructor
     */
    function ReferencedList(fieldName) {
        Reference.apply(this, arguments);

        this.config.name = fieldName || 'reference';
        this.config.type = 'ReferencedList';
        this.entries = [];
    }
コード例 #2
0
    /**
     * @constructor
     *
     * @param {String} name
     */
    function ReferenceMany(name) {
        Reference.apply(this, arguments);

        this.config.name = name || 'reference-many';
        this.config.type = 'ReferenceMany';
    }