Representation for all primitive types like string, integer, float and boolean
Source for this file: /Reflection/src/types/primitive_type.php
ezcReflectionAbstractType | --ezcReflectionPrimitiveType
Version: | //autogen// |
Child Class | Description |
---|---|
ezcReflectionArrayType | Provides type information of the array item type or map types |
ezcReflectionObjectType | Representation for all class types |
From ezcReflectionAbstractType | |
---|---|
protected |
ezcReflectionAbstractType::$typeName
|
public boolean |
isPrimitive(
)
|
public boolean |
isScalarType(
)
Returns whether this type is one of integer, float, string, or boolean. |
From ezcReflectionAbstractType | |
---|---|
public ezcReflectionAbstractType |
ezcReflectionAbstractType::__construct()
|
public string |
ezcReflectionAbstractType::getTypeName()
|
public string |
ezcReflectionAbstractType::getXmlName()
Returns name of the correspondent XML Schema datatype |
public DOMElement |
ezcReflectionAbstractType::getXmlSchema()
|
public boolean |
ezcReflectionAbstractType::isArray()
|
public boolean |
ezcReflectionAbstractType::isMap()
|
public boolean |
ezcReflectionAbstractType::isObject()
|
public boolean |
ezcReflectionAbstractType::isPrimitive()
|
public boolean |
ezcReflectionAbstractType::isScalarType()
Returns whether this type is one of integer, float, string, or boolean. |
public String |
ezcReflectionAbstractType::__toString()
Returns a string representation. |
Method | Description |
---|---|
ezcReflectionAbstractType::isPrimitive() |
Returns whether this type is one of integer, float, string, or boolean.
Types array, object, resource, NULL, mixed, number, and callback are not scalar.
Method | Description |
---|---|
ezcReflectionAbstractType::isScalarType() |
Returns whether this type is one of integer, float, string, or boolean. |