/** * @param string $pref * @param string $tableName * @return array/bool */ function GetTablesColumns($pref, $tableName) { $returnArray = array(); if (!$this->_connector->Execute($this->_commandCreator->GetTablesColumns($pref, $tableName))) { return false; } while (($array = $this->_connector->GetNextArrayRecord()) != false) { $tableColumn = ''; foreach ($array as $value) { $tableColumn = $value; break; } if (strlen($tableColumn) > 0) { $returnArray[] = $tableColumn; } } return $returnArray; }