thirdparty/htmlpurifier-4.0.0-lite/library/HTMLPurifier/Config.php
public function getBatchSerial($namespace) {
        if (empty($this->serials[$namespace])) {
            $batch = $this->getBatch($namespace);
            unset($batch['DefinitionRev']);
            $this->serials[$namespace] = md5(serialize($batch));
        }
        return $this->serials[$namespace];
    }
public function getBatchSerial($namespace) {
        if (empty($this->serials[$namespace])) {
            $batch = $this->getBatch($namespace);
            unset($batch['DefinitionRev']);
            $this->serials[$namespace] = md5(serialize($batch));
        }
        return $this->serials[$namespace];
    }
public function getBatchSerial ( $ namespace ) { if ( empty ( $ this -> serials [ $ namespace ] ) ) { $ batch = $ this -> getBatch ( $ namespace ) ; unset ( $ batch [ 'DefinitionRev' ] ) ; $ this -> serials [ $ namespace ] = md5 ( serialize ( $ batch ) ) ; } return $ this -> serials [ $ namespace ] ; }
Returns a md5 signature of a segment of the configuration object
that uniquely identifies that particular configuration
@note Revision is handled specially and is removed from the batch
before processing!
@param $namespace Namespace to get serial for
Returns a md5 signature of a segment of the configuration object that uniquely identifies that particular configuration