 |
|
Innovation award
 Nominee: 9x
Winner: 1x |
This class can be used to manipulate string values.
It encapsulates several types of operations that manipulate string values by the means of a fluent interface.
Currently it can concatenate an array of strings, change the case of the string words, split the string in pieces separated by another given string, find a given sub-string, pad the string with characters to fill a given length, extract a sub-string. insert a sub-string in a given position. replace sub-strings, trim the string, etc..
Annotation:
>> TypeSafeStruct (v0.2)
Once if have completed the list of ValueTypes, then TString will be used for database queries working as in C#.
A TypeSafeStruct Model replaces the stdClass Object in the i.e. mysql_fetch_object command. By this method, all query objects will own the ValueType specific methods while returning the result set.
TypeSafeStruct DataTypes:
- TString (published)
- TNumber (pending)
- TBit (in progress)
- TArray (in progress)
- TObject (in progress)
- TEnum (in progress)
|
|
| Name: |
TString |
| Base name: |
tstring |
| Description: |
Manipulate string values |
| Version: |
0.1 |
| PHP version: |
5.0 |
| License: |
GNU General Public License (GPL) |
| All time users: |
398 users |
| All time rank: |
5499 |
| Week users: |
1 user |
| Week rank: |
2151  |
| |
|
| There are not enough user ratings to display for this class. |
| |
Packages that need this class |
|
|
| Class |
Dependency |
Why it is needed |
| TypeSafeStruct |
Optional |
since v0.2 TSS will support ValueType Objects. TString is the first kind of value type. |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|