original_string: protected function setDefaultDataTypes()
      {
          foreach ($this->_params as $key => $value) {
              switch (gettype($value)) {
                  case "boolean":
                      $this->_types[$key] = 'boolean';
                      break;
                  case "integer":
                      $this->_types[$key] = 'integer';
                      break;
                  case "double":
                      $this->_types[$key] = 'float';
                      break;
                  case "string":
                      $this->_types[$key] = 'string';
                      break;
                  case "array":
                      $this->_types[$key] = 'array';
                      break;
                  default:
                      $this->_types[$key] = null;
                      break;
              }
          }
      }
code: protected function setDefaultDataTypes()
      {
          foreach ($this->_params as $key => $value) {
              switch (gettype($value)) {
                  case "boolean":
                      $this->_types[$key] = 'boolean';
                      break;
                  case "integer":
                      $this->_types[$key] = 'integer';
                      break;
                  case "double":
                      $this->_types[$key] = 'float';
                      break;
                  case "string":
                      $this->_types[$key] = 'string';
                      break;
                  case "array":
                      $this->_types[$key] = 'array';
                      break;
                  default:
                      $this->_types[$key] = null;
                      break;
              }
          }
      }
code_tokens: protected function setDefaultDataTypes ( ) { foreach ( $ this -> _params as $ key => $ value ) { switch ( gettype ( $ value ) ) { case "boolean" : $ this -> _types [ $ key ] = 'boolean' ; break ; case "integer" : $ this -> _types [ $ key ] = 'integer' ; break ; case "double" : $ this -> _types [ $ key ] = 'float' ; break ; case "string" : $ this -> _types [ $ key ] = 'string' ; break ; case "array" : $ this -> _types [ $ key ] = 'array' ; break ; default : $ this -> _types [ $ key ] = null ; break ; } } }
docstring: Get the default data types
docstring_tokens: Get the default data types