com.arcadiangarden.ssx.logbook
[ class tree: com.arcadiangarden.ssx.logbook ] [ index: com.arcadiangarden.ssx.logbook ] [ all elements ]

Class: LogbookYear

Source Location: /package/com/arcadiangarden/ssx/logbook/LogbookYear.inc

Class Overview

PURE_Class
   |
   --LogbookYear

更新ログの年を管理するクラスです。


Methods



Class Details

[line 19]
更新ログの年を管理するクラスです。



[ Top ]


Class Methods


constructor __construct [line 48]

LogbookYear __construct( Logbook $owner, int $year)

コンストラクタです。



Tags:

access:  public


Parameters:

LogbookYear   $owner   更新ログの年を保持する更新ログ
int   $year  

[ Top ]

method addMonth [line 170]

LogbookMonth addMonth( int $month)

指定の月の更新ログを追加します。

指定の月に既に更新ログが設定されている場合には、既存の更新ログを返します。




Tags:

return:  更新ログの月
access:  public


Parameters:

int   $month  

[ Top ]

method count [line 80]

int count( )

登録されている月数を取得します。



Tags:

return:  登録されている月の個数
access:  public


[ Top ]

method countOfDay [line 90]

int countOfDay( )

登録されている日数を取得します。



Tags:

return:  登録されている日の個数
access:  public


[ Top ]

method countOfItem [line 104]

int countOfItem( )

登録されている項目の個数を取得します。



Tags:

return:  登録されている項目の個数
access:  public


[ Top ]

method get [line 122]

LogbookMonth get( int $index)

指定のインデックス番目に登録されている月を返します。

インデックスは0~count()-1の範囲で指定する必要があります。




Tags:

return:  指定のインデックス番目に登録されている月
throws:  EIlligalParameterException インデックスが不正
access:  public


Parameters:

int   $index   インデックス

[ Top ]

method getMonth [line 139]

LogbookMonth getMonth( int $month)

指定の月の更新ログを取得します。

指定の月に更新ログが存在しない場合にはfalseを返します。




Tags:

return:  更新ログの月
access:  public


Parameters:

int   $month  

[ Top ]

method owner [line 60]

Logbook owner( )

更新ログの年を保持する更新ログを取得します。



Tags:

return:  更新ログの年を保持する更新ログ
access:  public


[ Top ]

method year [line 70]

int year( )

年を取得します。



Tags:

return:  
access:  public


[ Top ]


Documentation generated on Sun, 06 Jan 2008 01:33:17 +0900 by phpDocumentor 1.3.2