예제 #1
0
 /**
  * Get
  *
  * @param array $options
  */
 public function get($options = [])
 {
     $data = DateTimeZone::listIdentifiers();
     foreach ($data as $v) {
         $this->data[$v] = ['lc_timezone_name' => $v];
     }
     return parent::get($options);
 }
예제 #2
0
 /**
  * Get
  *
  * @param array $options
  */
 public function get($options = [])
 {
     $this->data = [10 => ['name' => 10], 20 => ['name' => 20], 30 => ['name' => 30], 50 => ['name' => 50], 100 => ['name' => 100], 250 => ['name' => 250], 500 => ['name' => 500], PHP_INT_MAX => ['name' => 'All']];
     return parent::get($options);
 }