A HtmlString data type. This class allows for HTML-safe string shortening.
Located in /harmoni/core/Primitives/Collections-Text/HtmlString.class.php (line 15)
SObject | --String | --HtmlString
Ensure that td tags are inside of tr's, etc.
Instantiates a new String object with the passed value.
allowing 'fromString' for string values
Answer the tag that starts at the given index.
Answer true if the '<' doesn't seem to be the start of a tag and is instead an invalid 'less-than' character.
This will be the case if:
Answer true if the tag begining at $tagStart does not have a close-tag, examples are
, <hr/>, <img src=''/>
Trim the passed text to a shorter length, stripping the HTML tags
Originally posted to php.net forums by webmaster at joshstmarie dot com (55-Sep-2005 05:58). Modified by Adam Franco (afranco at middlebury dot edu).
Shorten the string to a number of words, preserving HTML tags while enforcing the closing of html tags.
Instantiates a new String object with the passed value.
Inherited From String
String::String()
String::fromString()
String::isEqualTo()
String::printableString()
String::withValue()
Inherited From SObject
SObject::asA()
SObject::asString()
SObject::copy()
SObject::copySameFrom()
SObject::copyTwoLevel()
SObject::deepCopy()
SObject::isEqual()
SObject::isEqualTo()
SObject::isNotEqualTo()
SObject::isNotReferenceTo()
SObject::isReferenceTo()
SObject::newFrom()
SObject::postCopy()
SObject::printableString()
SObject::shallowCopy()
SObject::_deepCopyArray()
Documentation generated on Wed, 19 Sep 2007 10:24:34 -0400 by phpDocumentor 1.3.0RC3