Setuco
[ class tree: Setuco ] [ index: Setuco ] [ all elements ]

Class: Setuco_Util_String

Source Location: /library/Setuco/Util/String.php

Class Overview




Author(s):

  • charlesvineyard

Methods



Class Details

[line 23]


Tags:

author:  charlesvineyard


[ Top ]


Class Methods


static method convertSign2String [line 32]

static string convertSign2String( int $number)

数の符号を文字列に変換します。



Tags:

return:  文字列の符号付きの数
author:  charlesvineyard
access:  public


Parameters:

int   $number  

[ Top ]

static method getDefaultIfEmpty [line 48]

static void getDefaultIfEmpty( string $string, mixed $default)

文字列が空文字またはnullならばデフォルト値を取得します。 どちらでもなければそのままの文字列を返します。



Tags:

throws:  UnexpectedValueException $string が文字列でない場合にthrowします
access:  public


Parameters:

string   $string   文字列
mixed   $default   デフォルト値

[ Top ]


Documentation generated on Mon, 07 Feb 2011 01:28:29 +0900 by phpDocumentor 1.4.3