Overview

Namespaces

  • PHP
  • PhpOptions
    • Types

Classes

  • AType
  • CharType
  • DatetimeType
  • DateType
  • DirectoryType
  • EmailType
  • EnumType
  • FileType
  • InifileType
  • IntegerType
  • RealType
  • SeriesType
  • StringType
  • TimeType
  • Types
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class DateType

Date type

Format: YEAR(-|.)MONTH(-|.)DAY YEAR = four-digit number MONTH = one-digit or two-digit number or short name (three character) DAY = one-digit or two-digit number

PhpOptions\Types\AType
Extended by PhpOptions\Types\DateType
Namespace: PhpOptions\Types
Author: Viktor Mašíček <viktor@masicek.net>
Located at Types/DateType.php
Methods summary
public
# __construct( array $settings = array() )
Set object

Set object

Parameters

$settings
array
$setting Array of setting of object
public boolean
# check( mixed $value )
Check type of value.

Check type of value.

Parameters

$value
mixed
Checked value

Returns

boolean
protected mixed
# useFilter( mixed $value )
Return modified value

Return modified value

Parameters

$value
mixed
Filtered value

Returns

mixed
Methods Inherited From PhpOptions\Types\AType
filter(), getName(), settingsHasFlag()
Properties Inherited From PhpOptions\Types\AType
$useFilter
PhpOptions API documentation generated by ApiGen.
Generated using the TokenReflection library.