Class: Teeple_Converter_Todatetimehash

Source Location: /converter/Todatetimehash.php

Class Overview [line 27]

Teeple_Converter
   |
   --Teeple_Converter_Todatetimehash

日時の文字列から連想配列を作成します。(Datetimehashの逆)

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

日時の文字列から連想配列を作成します。(Datetimehashの逆)

日時は Year,Month,Day,Hour,Minute,Secondをキーとする連想配列に格納されます。 日付は必須、時刻は任意とします。 日付のフォーマットは "%Y-%m-%d %H:%M:%S" target属性で指定されたフィールド名に値を格納します。

[ Top ]


Class Variables

$format =  "%Y-%m-%d %H:%M:%S"

[line 40]

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

Tags:

  • access - public

Type: string

Overrides:

[ Top ]

$target

[line 34]

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

Tags:

  • access - public

Type: string

Overrides:

[ Top ]


Class Methods

execute

void execute( &$obj, $fieldName)

[line 42]

Tags:

  • access - protected

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

Parameters:

  • &$obj -
  • $fieldName -

[ Top ]


Class Constants


Documentation generated on Mon, 26 Apr 2010 09:00:00 +0900 by phpDocumentor 1.4.3