Classes, interfaces and traits
BoolType¶
Class BoolType
Shared boolean type class. Use the "asBool" method for getting the plain value.
« More »
DecimalType¶
Class DecimalType
Shared decimal type class. Use the "asDecimal" method for getting the plain value.
« More »
EmailStringType¶
Class EmailStringType
Shared email string type class. Use the "asString" method for getting the plain value.
« More »
IdType¶
Class IdType
IMPORTANT:
When you need to cast an Id object to integer, cast it first to string,
because otherwise the following command will return always 1:
EXAMPLE:
$id = new IdType(948);
bad - (int)$id >> 1
good - (int)(string)$id >> 948
« More »
IntType¶
Class IntType
Shared int type class. Use the "asInt" method for getting the plain value.
« More »
NonEmptyStringType¶
Class NonEmptyStringType
Shared string type class. Use the "asString" method for getting the plain value.
Notice: The constructor value must not be empty!
« More »
StringType¶
Class StringType
Shared string type class. Use the "asString" method for getting the plain value.
« More »