0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-23 00:41:52 +00:00
htmlpurifier/library/HTMLPurifier/IDAccumulator.php

15 lines
205 B
PHP
Raw Normal View History

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