Class: Teeple_Converter_Datearray

Source Location: /converter/Datearray.php

Class Overview [line 26]

Teeple_Converter
   |
   --Teeple_Converter_Datearray

配列で渡された年、月、日から文字列を作成します。

Author(s):

Version:

Copyright:

Variables

Constants

Methods


Inherited Variables

Inherited Constants

Inherited Methods

Class: Teeple_Converter

Teeple_Converter::convert()
Converterを実行します。 子クラスで実装されるexecuteメソッドを呼び出します。
Teeple_Converter::execute()
実際のConverterロジックです。子クラスで実装します。


Class Details

配列で渡された年、月、日から文字列を作成します。

年月日はそれぞれ、$foo[0],$foo[1],$foo[2]に格納されている前提です。 target属性で指定されたフィールド名に値を格納します。 format属性でフォーマットを指定できます。

[ Top ]


Class Variables

$format =  "%Y-%m-%d"

[line 39]

変換する際のフォーマット(strftimeの形式)

Tags:

  • access - public

Type: string

Overrides:

[ Top ]

$target

[line 33]

変換後の値を格納するプロパティ名

Tags:

  • access - public

Type: string

Overrides:

[ Top ]


Class Methods

execute

void execute( &$obj, $fieldName)

[line 41]

Tags:

  • access - protected

Overrides Teeple_Converter::execute() (実際のConverterロジックです。子クラスで実装します。)

Parameters:

  • &$obj -
  • $fieldName -

[ Top ]


Class Constants


Documentation generated on Mon, 26 Apr 2010 08:59:40 +0900 by phpDocumentor 1.4.3