public/javascripts/yui/container/container-debug.js
function (key, value, silent) {
        
            var property;
        
            key = key.toLowerCase();
            YAHOO.log("setProperty: " + key + "=" + value, "info", "Config");
        
            if (this.queueInProgress && ! silent) {
                // Currently running through a queue... 
                this.queueProperty(key,value);
                return true;
    
            } else {
                property = this.config[key];
                if (property && property.event) {
                    if (property.validator && !property.validator(value)) {
                        return false;
                    } else {
                        property.value = value;
                        if (! silent) {
                            this.fireEvent(key, value);
                            this.configChangedEvent.fire([key, value]);
                        }
                        return true;
                    }
                } else {
                    return false;
                }
            }
        }
function (key, value, silent) {
        
            var property;
        
            key = key.toLowerCase();
            YAHOO.log("setProperty: " + key + "=" + value, "info", "Config");
        
            if (this.queueInProgress && ! silent) {
                // Currently running through a queue... 
                this.queueProperty(key,value);
                return true;
    
            } else {
                property = this.config[key];
                if (property && property.event) {
                    if (property.validator && !property.validator(value)) {
                        return false;
                    } else {
                        property.value = value;
                        if (! silent) {
                            this.fireEvent(key, value);
                            this.configChangedEvent.fire([key, value]);
                        }
                        return true;
                    }
                } else {
                    return false;
                }
            }
        }
function ( key , value , silent ) { var property ; key = key . toLowerCase ( ) ; YAHOO . log ( "setProperty: " + key + "=" + value , "info" , "Config" ) ; if ( this . queueInProgress && ! silent ) { // Currently running through a queue...  this . queueProperty ( key , value ) ; return true ; } else { property = this . config [ key ] ; if ( property && property . event ) { if ( property . validator && ! property . validator ( value ) ) { return false ; } else { property . value = value ; if ( ! silent ) { this . fireEvent ( key , value ) ; this . configChangedEvent . fire ( [ key , value ] ) ; } return true ; } } else { return false ; } } }
Sets the value of a property. If the silent property is passed as
true, the property's event will not be fired.
@method setProperty
@param {String} key The name of the property
@param {String} value The value to set the property to
@param {Boolean} silent Whether the value should be set silently,
without firing the property event.
@return {Boolean} True, if the set was successful, false if it failed.
Sets the value of a property . If the silent property is passed as true the property s event will not be fired .