private function jsCallback($matches) { $num = $this->_jsCount; ++$this->_jsCount; return '{|js_' . $num . '|}'; }