phpDocumentor

DateColumn implements TableDataColumn

Class representing a date table column.

Interfaces, Classes and Traits

TableDataColumn
Interface representing a table column.

Table of Contents

TYPE  = "date"
Type name.
$field  : string
Field name.
$inputDateFormat  : string
Input date format.
$outputDateFormat  : string
Output date format.
$title  : string
Title.
$type  : string
Type.
create()  : DateColumn
Create instance.
field()  : string
Return field.
inputDateFormat()  : string
Return input date format.
outputDateFormat()  : string
Return output date format.
title()  : string
Return title.
type()  : string
Return type.
__construct()  : mixed
Constructor.

Constants

Properties

$inputDateFormat

Input date format.

private string $inputDateFormat

$outputDateFormat

Output date format.

private string $outputDateFormat

Methods

create()

Create instance.

public static create(string $title, string $field, string $inputDateFormat, string $outputDateFormat) : DateColumn
Parameters
$title : string

Title.

$field : string

Field name.

$inputDateFormat : string

Input date format.

$outputDateFormat : string

Output date format.

Return values
DateColumn

Instance.

field()

Return field.

public field() : string
Tags
inheritDoc
Return values
string

Field.

inputDateFormat()

Return input date format.

public inputDateFormat() : string
Return values
string

Input date format.

outputDateFormat()

Return output date format.

public outputDateFormat() : string
Return values
string

Output date format.

title()

Return title.

public title() : string
Tags
inheritDoc
Return values
string

Title.

type()

Return type.

public type() : string
Tags
inheritDoc
Return values
string

Type.

__construct()

Constructor.

private __construct(string $title, string $field, string $inputDateFormat, string $outputDateFormat) : mixed
Parameters
$title : string

Title.

$field : string

Field name.

$inputDateFormat : string

Input date format.

$outputDateFormat : string

Output date format.

Return values
mixed

Search results