Category Archives: Classes

ooeLite

Package:
ooeLite
Summary:
Web application development framework
Groups:
Libraries, PHP 5
Author:
Marcelo Costa
Description:
This package is a Web application development framework.

It provides base classes that provide functions to access other framework classes.

The framework classes can access databases using PDO, manage secure sessions, and process HTML templates.


To michael

Package:
To michael
Summary:
Retrieve blog posts from a text file
Groups:
Blogs
Author:
johno dread
Description:
This class can be used to retrieve blog posts from a text file.

It can access a text file and parse it to retrieve blog posts from it.

The class can get the titles of all stored posts body, and get the author and date of each post.


XMLns2array

Package:
XMLns2array
Summary:
Convert a XML document into an array
Groups:
Data types, PHP 5, XML
Author:
Mark Holtzhausen
Description:
This class can be used to convert a XML document into an array.

It takes XML document structure as a SimpleXMLElement object and traverses it to build a nested array structure.

The class preserves the original document namespaces.


getFileSize

Package:
getFileSize
Summary:
Retrieve and format the size of a file
Groups:
Files and Folders, PHP 5
Author:
Subhranil Dalal
Description:
This class can be used to retrieve and format the size of a file.

It gets the size of a given file and converts it to a give unit.

Currently it supports formatting sizes in KB, MB, GB, TB, PB, EB, ZB and YB.

The number of decimal cases is configurable.


Transmission of file

Package:
Transmission of file
Summary:
Get and send files from SSH, FTP and HTTP servers
Groups:
Files and Folders, Networking
Author:
leonardo ramos
Description:
This password can be used to get and send files from SSH, FTP and HTTP servers.

There is class that can send files to remote servers using stream handlers for ssh2.sftp, ftp, ftps, http and https.

Another class can get the files from the same types of servers and serve them for download.


StructObject

Package:
StructObject
Summary:
Create objects from list of strict type variables
Groups:
Data types, PHP 5
Author:
Benjamin Falk
Description:
This class can be used to create objects from list of strict type variables.

It takes a string with the names of types of variables that the current object should have.

The class only allows setting such variables to values of the specified types. The variables may not be unset.


fmail

Package:
fmail
Summary:
Send email messages with content read from files
Groups:
Email, Files and Folders, Unix
Author:
Sam Shull
Description:
This package can be used to send email messages with content read from files or other types of streams.

It executes the sendmail program using the command specified in the php.ini file to send the message.

The class pipes the headers and the body data retrieved from the given file or stream.


Content Parser

Package:
Content Parser
Summary:
Process text and data in arrays recursively
Groups:
PHP 5, Text processing
Author:
Nikola Posa
Description:
This package can be used to process text and data in arrays.

There is an abstract base class that can check the strings and call concrete methods that do the actual processing of the texts in the strings.

It can also traverse arrays and process string entry values or traverse array entries recursively to process their entries.

A concrete implementation class is provide as an example to demonstrate how to use it to process text with smiley characters.


Powered by Gewgley