Home
last modified time | relevance | path

Searched refs:nbCols (Results 1 – 2 of 2) sorted by relevance

/plugin/nspages/printers/
DprinterNice.php15 private $nbCols; variable in nspages_printerNice
18 function __construct($plugin, $mode, $renderer, $nbCols, $anchorName, $data){ argument
23 $this->nbCols = $this->_computeActualNbCols($nbCols);
27 private function _computeActualNbCols($nbCols){ argument
28 $nbCols = (int) $nbCols;
29 if(!isset($nbCols) || is_null($nbCols) || $nbCols < 1) {
30 $nbCols = 3;
32 return $nbCols;
128 if($nbItems < $this->nbCols) {
135 $collength = $nbItems / $this->nbCols;
[all …]
DrendererXhtmlHelper.php16 function __construct($renderer, $nbCols, $plugin, $anchorName){ argument
18 $this->percentWidth = $this->buildWidth($nbCols);
23 private function buildWidth($nbCols){ argument
24 return (100 / $nbCols) . '%';