Ajax/bootstrap/html/content/HtmlGridRow.php 1 location
|
@@ 43-47 (lines=5) @@
|
| 40 |
|
} |
| 41 |
|
|
| 42 |
|
public function getCol($index,$force=true){ |
| 43 |
|
if($index<sizeof($this->cols)+1){ |
| 44 |
|
$result=$this->cols[$index-1]; |
| 45 |
|
}else if ($force){ |
| 46 |
|
$result=$this->addColAt(CssSize::SIZE_MD,1,$index); |
| 47 |
|
} |
| 48 |
|
return $result; |
| 49 |
|
} |
| 50 |
|
|
Ajax/bootstrap/html/HtmlGridsystem.php 1 location
|
@@ 44-49 (lines=6) @@
|
| 41 |
|
* @return \Ajax\bootstrap\html\content\HtmlGridRow |
| 42 |
|
*/ |
| 43 |
|
public function getRow($index,$force=true){ |
| 44 |
|
if($index<sizeof($this->rows)){ |
| 45 |
|
$result=$this->rows[$index-1]; |
| 46 |
|
}else if ($force){ |
| 47 |
|
$this->setNumRows($index); |
| 48 |
|
$result=$this->rows[$index-1]; |
| 49 |
|
} |
| 50 |
|
return $result; |
| 51 |
|
} |
| 52 |
|
|