ZenCart_Documentation  1.5.0
http://www.collinsharper.com
C:/xampp/htdocs/zen-cart/admin/option_name.php File Reference

Go to the source code of this file.

Namespaces

namespace  admin

Variables

 $chk_option_names = $db->Execute("select * from " . TABLE_PRODUCTS_OPTIONS . " where language_id='" . (int)$_SESSION['languages_id'] . "' limit 1")
if($chk_option_names->
RecordCount()< 1) 
$languages_array = array()
 $languages = zen_get_languages()
 $_GET ['lng_exists'] = false
 if ($_GET['action']=="update_sort_order")
 if ($_GET['lng_id']!=$_SESSION['languages_id'])
 $row = $db->Execute("SELECT * FROM " . TABLE_PRODUCTS_OPTIONS . " WHERE language_id = '" . (int)$_GET['lng_id'] . "' ORDER BY products_options_sort_order, products_options_id")
 while (!$row->EOF)

Variable Documentation

$_GET['lng_exists'] = false

Definition at line 25 of file option_name.php.

$chk_option_names = $db->Execute("select * from " . TABLE_PRODUCTS_OPTIONS . " where language_id='" . (int)$_SESSION['languages_id'] . "' limit 1")

Definition at line 14 of file option_name.php.

$languages = zen_get_languages()

Definition at line 24 of file option_name.php.

if ($chk_option_names->RecordCount()< 1) $languages_array = array()

Definition at line 23 of file option_name.php.

$row = $db->Execute("SELECT * FROM " . TABLE_PRODUCTS_OPTIONS . " WHERE language_id = '" . (int)$_GET['lng_id'] . "' ORDER BY products_options_sort_order, products_options_id")

Definition at line 116 of file option_name.php.

if($_GET['action']=="update_sort_order")

Definition at line 35 of file option_name.php.

if($_GET['lng_id']!=$_SESSION['languages_id'])

Definition at line 104 of file option_name.php.

while(!$row->EOF)

Definition at line 117 of file option_name.php.

 All Data Structures Namespaces Files Functions Variables Enumerations