main_template_vars_product_type.php
来自「Zen Cart是一款最新的购物车软件」· PHP 代码 · 共 38 行
PHP
38 行
<?php
/**
* main_template_vars_product_type.php
* This file contains all the logic to prepare $vars for use in the product-type-specific template
* It pulls data from all the related tables which collectively store the info related only to this product type.
*
* @package productTypes
* @copyright Copyright 2003-2005 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: main_template_vars_product_type.php 2326 2005-11-09 23:43:14Z drbyte $
*/
/*
* This file contains all the logic to prepare $vars for use in the product-type-specific template
* It pulls data from all the related tables which collectively store the info related only to this product type.
*/
// This should be first line of the script:
$zco_notifier->notify('NOTIFY_PRODUCT_TYPE_VARS_START_PRODUCT_INFO');
/**
* Retrieve relevant data from relational tables, for the current products_id:
*/
// Nothing special to do here for primary product_info type
/*
* extract info from queries for use as template-variables:
*/
//nothing special to do here for this product type
// This should be last line of the script:
$zco_notifier->notify('NOTIFY_PRODUCT_TYPE_VARS_END_PRODUCT_INFO');
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?