| Conditions | 4 |
| Paths | 6 |
| Total Lines | 16 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 43 | public function getColumns($tables=array()) |
||
| 44 | { |
||
| 45 | $tableList = (count($tables)) ? $tables : $this->getTables(); |
||
| 46 | |||
| 47 | $list = []; |
||
| 48 | |||
| 49 | foreach ($tableList as $table){ |
||
| 50 | |||
| 51 | if(in_array($table,$this->getTables())){ |
||
| 52 | $list[$table] = $this->showColumnsFrom($table); |
||
| 53 | } |
||
| 54 | } |
||
| 55 | |||
| 56 | $this->columnsProcess($list); |
||
| 57 | |||
| 58 | return $this; |
||
| 59 | |||
| 68 |