thirdparty/htmlpurifier-4.0.0-lite/library/HTMLPurifier/PropertyList.php
public function squash($force = false) {
        if ($this->cache !== null && !$force) return $this->cache;
        if ($this->parent) {
            return $this->cache = array_merge($this->parent->squash($force), $this->data);
        } else {
            return $this->cache = $this->data;
        }
    }
public function squash($force = false) {
        if ($this->cache !== null && !$force) return $this->cache;
        if ($this->parent) {
            return $this->cache = array_merge($this->parent->squash($force), $this->data);
        } else {
            return $this->cache = $this->data;
        }
    }
public function squash ( $ force = false ) { if ( $ this -> cache !== null && ! $ force ) return $ this -> cache ; if ( $ this -> parent ) { return $ this -> cache = array_merge ( $ this -> parent -> squash ( $ force ) , $ this -> data ) ; } else { return $ this -> cache = $ this -> data ; } }
Squashes this property list and all of its property lists into a single
array, and returns the array. This value is cached by default.
@param $force If true, ignores the cache and regenerates the array.
Squashes this property list and all of its property lists into a single array and returns the array . This value is cached by default .