Login   Register  
PHP Classes
elePHPant
Icontem

TString

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Tom Schaefer  >  TString  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: TString
Base name: tstring
Description: Manipulate string values
Related classes: , , , ,
Version: 0.1
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 372 users
All time rank: 5270
Week users: 1 user
Week rank: 2419
 

  Author  
Picture of Tom Schaefer
Name: Tom Schaefer <e-mail contact>
Packages: 29 Browse all classes by Tom Schaefer Browse all classes by
Country: Germany Germany - PHP jobs in Germany
Age: ???
All time rank: 14510 in Germany Germany
Week rank: 27 Up5 in Germany Germany Up
Innovation award
Innovation award
Nominee: 5x


  Detailed description  
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)

  Groups   Rate classes User ratings   Dependents   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes
Group folder image Data types Modeling and manipulating data types View top rated classes


  User ratings  
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.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file String.class.php Class String Class

Download all files: tstring.tar.gz tstring.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.