public function importGoods(&$proto, $gtype) { if (!function_exists("goods_import")) { require CORE_INCLUDE_DIR . "/core/goods.import.php"; } return goods_import($proto, $gtype, $this); }
function importGoods(&$proto, $gtype) { if (!function_exists('goods_import')) { require CORE_INCLUDE_DIR . '/core/goods.import.php'; } return goods_import($proto, $gtype, $this); }