Lines Matching defs:_hash
2159 clone:function(_hash,_undeep){
2161 for(var key in _hash){
2162 if( !_undeep&&pi.util.IsArray( _hash[key] ) ){
2163 tmp[key] = pi.util.Array.clone( _hash[key] );
2164 } else if( !_undeep&&pi.util.IsHash( _hash[key] ) ){
2165 tmp[ key ] = pi.util.Hash.clone(_hash[key]);
2167 tmp[key] = _hash[key];
2172 merge:function(_hash,_source,_undeep){
2176 if(pi.util.IsArray( _hash[key] )){
2177 Array.prototype.push.apply( _source[key], _hash[key] )
2183 if (pi.util.IsHash(_hash[key])) {
2184 value = pi.util.Hash.merge(_hash[key], _source[key]);
2188 } else if( _hash[key] )
2189 value = _hash[ key ];
2190 _hash[key] = value;
2192 return _hash;