original_string: public function getDefaultFromData($data)
      {
          if ($this->defaultFrom) {
              return $this->getFieldNameFromData($this->defaultFrom, $data);
          }
  
          if ($this->defaults !== '') {
              return $this->defaults;
          }
  
          return null;
      }
code: public function getDefaultFromData($data)
      {
          if ($this->defaultFrom) {
              return $this->getFieldNameFromData($this->defaultFrom, $data);
          }
  
          if ($this->defaults !== '') {
              return $this->defaults;
          }
  
          return null;
      }
code_tokens: public function getDefaultFromData ( $ data ) { if ( $ this -> defaultFrom ) { return $ this -> getFieldNameFromData ( $ this -> defaultFrom , $ data ) ; } if ( $ this -> defaults !== '' ) { return $ this -> defaults ; } return null ; }
docstring: Returns the default value for this field, the supplied data is used
  to source data when defaultFrom is specified.
  @param mixed $data
  @return mixed
docstring_tokens: Returns the default value for this field the supplied data is used to source data when defaultFrom is specified .