SMWStringLengthException Class Reference

Exception to be thrown when input string is too long. More...

Inherits SMWDataItemException.

List of all members.

Public Member Functions

 __construct ($string, $maxlength)
 getMaxLength ()
 Get the maximum length that the string is allowed to have.

Protected Attributes

 $m_maxlength


Detailed Description

Exception to be thrown when input string is too long.

Since:
1.6

Definition at line 12 of file SMW_DI_String.php.


Constructor & Destructor Documentation

SMWStringLengthException::__construct ( string,
maxlength 
)

Definition at line 15 of file SMW_DI_String.php.


Member Function Documentation

SMWStringLengthException::getMaxLength (  ) 

Get the maximum length that the string is allowed to have.

The length is counted with str_len, i.e. multibyte (UTF-8) strings are ignored.

Definition at line 24 of file SMW_DI_String.php.


Member Data Documentation

SMWStringLengthException::$m_maxlength [protected]

Definition at line 13 of file SMW_DI_String.php.


The documentation for this class was generated from the following file:

Generated on Sun Mar 18 07:15:45 2012 for Semantic MediaWiki by  doxygen 1.5.6