Аргумент | Возможный тип | Описание |
$profile_id | — | — |
$profile_descriptions = array(); $results = $this->db->query("SELECT * FROM `" . DB_PREFIX . "profile_description` WHERE `profile_id` = " . (int)$profile_id . " ")->rows; foreach ($results as $result) { $profile_descriptions[$result['language_id']] = array( 'name' => $result['name'], ); } return $profile_descriptions;