You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
848 B
PHP
39 lines
848 B
PHP
<?php
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
class Trippest
|
|
{
|
|
protected $ci;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->ci =& get_instance();
|
|
}
|
|
|
|
public function tour_name($pag_code)
|
|
{
|
|
$name = "";
|
|
switch ($pag_code) {
|
|
case 'BJSIC-41':
|
|
$name = "One Day Beijing Highlights Tour";
|
|
break;
|
|
case 'BJSIC-42':
|
|
$name = "Two-Day Beijing Boutique Small Group Tour";
|
|
break;
|
|
case 'BJSIC-43':
|
|
$name = "Three-Day Beijing Discovery Tour";
|
|
break;
|
|
|
|
default:
|
|
# code...
|
|
break;
|
|
}
|
|
return $name;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
/* End of file trippest.php */
|
|
/* Location: ./third_party/trippestOrderSync/libraries/trippest.php */
|