Files
luos/thirdparty/html2ps_pdf/css.counter.collection.php
Paula Quispe 9eb7d6cac2 HOR-2689
2017-08-03 17:00:30 -04:00

24 lines
378 B
PHP

<?php
class CSSCounterCollection {
var $_counters;
function CSSCounterCollection() {
$this->_counters = array();
}
function add(&$counter) {
$this->_counters[$counter->get_name()] =& $counter;
}
function &get($name) {
if (!isset($this->_counters[$name])) {
$null = null;
return $null;
};
return $this->_counters[$name];
}
}
?>