0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-11-10 07:38:41 +00:00
htmlpurifier/library/HTMLPurifier/IDAccumulator.php

15 lines
205 B
PHP

<?php
class HTMLPurifier_IDAccumulator
{
var $ids = array();
function add($id) {
if (isset($this->ids[$id])) return false;
return $this->ids[$id] = true;
}
}
?>