PHP Classes
Icontem

Class: Source Parser


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Vagharshak Tozalakyan  >  Source Parser  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Source Parser Support forum
Base name: source_parser
Description: Parsing text with BBCode style tags
Related top rated classes:
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
All time users: 1100 users
All time rank: 2211
Week users: 0 users
Week rank: 2993
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Vagharshak Tozalakyan
Name: Vagharshak Tozalakyan <e-mail contact>
Published packages: 27 Browse this author's classes Browse this author's classes
Country: Armenia Armenia - PHP jobs in Armenia
Home page: http://www.tozalakyan.com/
Age: 29
All time rank: 8
Week rank: 11

Groups

Group folder image HTML HTML generation and processing View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes

Detailed description

This class can be used to parse text BBCode style tags like [PIC="logo.gif"], [IMG PIC="photo.jpg" BORDER=0], [B]text[/B] etc.

It invokes given calllback functions when open and close tags are found passing the attributes of the tags. The callback functions can return text that is used to replace the tags that are found.

Optionally, the class can turn URLs and e-mail addresses into HTML links. The e-mail addresses can be encoded using Javascript to prevent harvesting by robots.

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (91.7%)
Good (83.3%)
-
Sufficient (75.0%)
-
-
Sufficient (61.7%)
538
Month:
Not yet rated by the users

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

File Role Description
Plain text file source_parser.class.php Class Class source
Plain text file test.php Example Sample
Download all files: source_parser.tar.gz source_parser.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products