function isScalar ($propName)
  {
    $type = $this->getTypeOf ($propName);
    return $type == type::bool || $type == type::id || $type == type::number ||
           $type == type::string;
  }
function isScalar ($propName)
  {
    $type = $this->getTypeOf ($propName);
    return $type == type::bool || $type == type::id || $type == type::number ||
           $type == type::string;
  }
function isScalar ( $ propName ) { $ type = $ this -> getTypeOf ( $ propName ) ; return $ type == type :: bool || $ type == type :: id || $ type == type :: number || $ type == type :: string ; }
Checks if a property is of a scalar type.

@param string $propName
@return bool
Checks if a property is of a scalar type .