static function getName($id, $languages_id, $languages_code) { if (defined('TABLE_EZPAGES_TEXT')) { self::$table = TABLE_EZPAGES_TEXT; } return parent::getName($id, self::$id_field, self::$name_field, self::$table, SSUConfig::registry('identifiers', self::$identifier), self::$identifier, $languages_id, $languages_code); }
/** * Given the id, languages, queries the name * * @param int $id * @param int $languages_id * @param string $languages_code * @return string */ static function getName($id, $languages_id, $languages_code) { return parent::getName($id, self::$id_field, self::$name_field, self::$table, SSUConfig::registry('identifiers', self::$identifier), self::$identifier, 0, $languages_code); }
static function getName($id, $languages_id, $languages_code) { $sql_query = "SELECT " . self::$name_field . " FROM " . self::$table . " WHERE products_id ='{$id}' AND language_id = '{$languages_id}'"; $identifiers = SSUConfig::registry('identifiers', self::$identifier); return parent::getName($id, $sql_query, self::$name_field, $identifiers[self::$main_page], self::$identifier, $languages_code); }
static function getName($id, $languages_id, $languages_code) { $identifiers = SSUConfig::registry('identifiers', self::$identifier); return parent::getName($id, self::$id_field, self::$name_field, self::$table, $identifiers[self::$main_page], self::$identifier, $languages_id, $languages_code, 'language_id'); }
static function getName($id, $languages_id, $languages_code, $identifier = '', $cache_folder = '', $languages_code = '') { $sql_query = "SELECT " . self::$name_field . " FROM " . self::$table . " WHERE pages_id ='{$id}' AND languages_id = '{$languages_id}'"; return parent::getName($id, $sql_query, self::$name_field, SSUConfig::registry('identifiers', self::$identifier), self::$identifier, $languages_code); }
static function identifyQuery($string, $query_key = '') { return parent::identifyQuery($string, self::$query_key); }
/** * Given the id, languages, queries the name * * @param int $id * @param int $languages_id * @param string $languages_code * @return string */ static function getName($id, $languages_id, $languages_code) { $sql_query = "SELECT " . self::$name_field . " FROM " . self::$table . " WHERE manufacturers_id ='{$id}'"; return parent::getName($id, $sql_query, self::$name_field, SSUConfig::registry('identifiers', self::$identifier), self::$identifier, $languages_code); }