Lines Matching refs:col
127 foreach ($columns as $idx => $col) {
129 if ((string)intval($col) === (string)$col) {
130 $fixed += $col;
134 if (substr($col, -1) == '%') {
137 if ($col == '*') {
146 throw new Exception("unknown column format $col");
153 foreach ($columns as $idx => $col) {
154 if (substr($col, -1) != '%') {
157 $perc = floatval($col);
196 foreach ($columns as $col => $width) {
197 $wrapped[$col] = explode("\n", $this->wordwrap($texts[$col], $width, "\n", true));
198 $len = count($wrapped[$col]);
208 foreach ($columns as $col => $width) {
209 if (isset($wrapped[$col][$i])) {
210 $val = $wrapped[$col][$i];
215 if (isset($colors[$col]) && $colors[$col]) {
216 $chunk = $this->colors->wrap($chunk, $colors[$col]);
221 if ($col != $last) {