X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Bjs.php;fp=Bjs.php;h=38eac38fe20eae97b1a4a860384c6477d7fd7104;hp=d31377985bf23c4fda725ece86d42e2834fff7b1;hb=348fd691210e1e99c95fbc3d4fcb3bc0a84ba0a1;hpb=ecc6be02109db3ef5dfe25bf5a0cfbf4e63651ca diff --git a/Bjs.php b/Bjs.php index d3137798..38eac38f 100644 --- a/Bjs.php +++ b/Bjs.php @@ -70,7 +70,17 @@ class Pman_Core_Bjs { function iterateColumns($ar) { foreach($ar as $o) { - + switch ($o->xtype) { + case "ColumnModel": + $this->cols[] = $o; + break; + default: + if (isset($o->items)) { + $this->iterateColumns($o->items); + } + } + } + } }