Lines Matching refs:nbCols
15 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;
137 for($idx = 0; $idx < $this->nbCols; $idx++) {
143 for($idx = 1; $idx < $this->nbCols; $idx++) {