Searched refs:nbCols (Results 1 – 2 of 2) sorted by relevance
15 private $nbCols; variable in nspages_printerNice18 function __construct($plugin, $mode, $renderer, $nbCols, $anchorName, $data){ argument23 $this->nbCols = $this->_computeActualNbCols($nbCols);27 private function _computeActualNbCols($nbCols){ argument28 $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 …]
16 function __construct($renderer, $nbCols, $plugin, $anchorName){ argument18 $this->percentWidth = $this->buildWidth($nbCols);23 private function buildWidth($nbCols){ argument24 return (100 / $nbCols) . '%';