Class: Teeple_Converter_Todatearray

Source Location: /converter/Todatearray.php

Class Overview [line 26]

Teeple_Converter
   |
   --Teeple_Converter_Todatearray

日付の文字列から配列を作成します。(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

日付の文字列から配列を作成します。(Datearrayの逆)

年月日はそれぞれ、$foo[0],$foo[1],$foo[2]に格納されます。 日付のフォーマットは "%Y-%m-%d" target属性で指定されたフィールド名に値を格納します。

[ 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:59 +0900 by phpDocumentor 1.4.3