Пример #1
0
 function get($var)
 {
     switch (strtolower($var)) {
         case 'use_offset':
             return $this->get_use_offset();
             break;
         case 'use_offset_a':
             return $this->get_use_offset('a');
             break;
         case 'use_offset_b':
             return $this->get_use_offset('b');
             break;
         default:
             return parent::get($var);
     }
     // End: switch()
 }
Пример #2
0
 function __construct()
 {
     $this->item_type = "genie";
     parent::__construct();
 }
 function __construct()
 {
     $this->item_type = "letdown_line";
     parent::__construct();
 }