/** * get the Themes config information * * @param object &$DBconn * @return array $arr_data * */ function getThemesByDB(&$DBconn) { $config = new Config(&$DBconn); $config->config_name = 'themes'; $themes_id = $config->getValuebyName(); $themes = new Themes(&$DBconn); $themes->id = $themes_id; $arr_data = $themes->selectThemes(); return $arr_data; }