original_string: protected function _schemaDefault($parts)
      {
          $table = $this->_getTable($parts);
          if ($table === false) {
              return null;
          }
          $field = end($parts);
          $defaults = $table->getSchema()->defaultValues();
          if (!array_key_exists($field, $defaults)) {
              return null;
          }
  
          return $defaults[$field];
      }
code: protected function _schemaDefault($parts)
      {
          $table = $this->_getTable($parts);
          if ($table === false) {
              return null;
          }
          $field = end($parts);
          $defaults = $table->getSchema()->defaultValues();
          if (!array_key_exists($field, $defaults)) {
              return null;
          }
  
          return $defaults[$field];
      }
code_tokens: protected function _schemaDefault ( $ parts ) { $ table = $ this -> _getTable ( $ parts ) ; if ( $ table === false ) { return null ; } $ field = end ( $ parts ) ; $ defaults = $ table -> getSchema ( ) -> defaultValues ( ) ; if ( ! array_key_exists ( $ field , $ defaults ) ) { return null ; } return $ defaults [ $ field ] ; }
docstring: Get default value from table schema for given entity field.
  
  @param array $parts Each one of the parts in a path for a field name
  @return mixed
docstring_tokens: Get default value from table schema for given entity field .