<li><a href="javascript:;" onclick="<?php echo $this->call ?>"><?php echo $this->text ?></a></li>
info at phpclasses dot org