Class: Teeple_Converter_Timehash

Source Location: /converter/Timehash.php

Class Overview [line 27]

Teeple_Converter
   |
   --Teeple_Converter_Timehash

連想配列で渡された時刻から文字列を作成します。

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

連想配列で渡された時刻から文字列を作成します。

時刻は Hour,Minute,Secondをキーとする連想配列に格納されている前提です。 時分は必須、秒は任意とします。 target属性で指定されたフィールド名に値を格納します。 format属性でフォーマットを指定できます。

[ Top ]


Class Variables

$format =  "%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 08:59:59 +0900 by phpDocumentor 1.4.3