Пример #1
0
 public function offsetGet($offset)
 {
     $return = $this->description[$offset];
     if (is_array($return)) {
         $return = Parameters::wrap($this->description[$offset]);
         $this->description[$offset] = $return;
     }
     return $return;
 }
Пример #2
0
 public function doesColumnExist($details)
 {
     $table = $this->getTableDetails($details['schema'], $details['table']);
     return isset($table['columns'][$details['name']]) ? Parameters::wrap($table['columns'][$details['name']]) : false;
 }