function __construct($plugin, $mode, $renderer, $nbCols, $anchorName, $data) { parent::__construct($plugin, $mode, $renderer, $data); if ($this->mode !== 'xhtml') { throw Exception('nspages_printerNice can only work in xhtml mode'); } $this->nbCols = $this->_computeActualNbCols($nbCols); $this->anchorName = $anchorName; }
function __construct($plugin, $mode, $renderer, $data) { parent::__construct($plugin, $mode, $renderer, $data); }
function __construct($plugin, $mode, $renderer, $data, $useNumberedList = false) { parent::__construct($plugin, $mode, $renderer, $data); $this->useNumberedList = $useNumberedList; }