Package:
Summary:
Register key values in a singleton object
Groups:
Author:
Description:
This class can be used to register key values in a singleton object.
It creates or reuse a singleton object by storing it in a class static variable.
The singleton object is used to store, retrieve and delete keys associated to given values.
Package:
Summary:
Validate submitted form request values
Groups:
Author:
Description:
This class can be used to validate submitted form request values.
It can take an array of values for validation eventually from $_POST or $_GET arrays.
The class can validate each entry in the array according to previously added rules.
Currently it supports rules to check if a value is set, is a valid IP address, is valid number, is a string with a length range, is valid URL, or is valid e-mail address.
The class can also sanitize the passed values and return the sanitized results in an array.
Package:
Summary:
Manipulate a list of entries in a string of separa
Groups:
Author:
Description:
This class can be used to manipulate a list of entries in a string of separated values.
It can perform several operations on the list of values string like adding a set of values, importing the list from a compressed file, export the list, add, remove and update entries, search for values, etc..
Package:
Summary:
Store single dimension arrays in CSV files
Groups:
Author:
Description:
This class can be used to manipulate and store single dimension arrays in CSV files.
It can perform several operations on arrays of date like adding a set of values, etc..
Package:
Summary:
Write log messages to files
Groups:
Author:
Description:
This class can be used to write log messages to files.
It can append given log messages to lines of files.
The log lines include the current time and optionally the name of the file and line number of the code script to which log message is related.
Package:
Summary:
Manipulate session variables with encrypted values
Groups:
Author:
Description:
This package can be used to manipulate session variables with encrypted values.
It can wrap the access to session variables by encrypting the values before storing and decrypting the after retrieving the values.
The session class can also create or delete a session variable and create or delete an associated cookie.
Package:
Summary:
Generate HTML select elements from value arrays
Groups:
Author:
Description:
This class can be used to generate HTML select elements from value arrays.
It can take an array of values and generate HTML to define form select inputs in several ways.
Currently it can generate simple select inputs from associative arrays, multiple select inputs, select inputs with nested option group sub-menus from multi-dimensional arrays, select with number options, etc..
Package:
Summary:
Validate Brazilian CPF and CNPJ numbers
Groups:
Author:
Description:
This class can be used to validate brazilian CPF and CNPJ numbers.
It can take either CPF or CNPJ numbers and compute their checksum to determine if the numbers can be valid.
Package:
Summary:
Encrypt and decrypt data using Mcrypt
Groups:
Author:
Description:
This class can be used to encrypt and decrypt data using Mcrypt.
It can take a string of data and encrypt with a given key.
The class can also do the opposite, i.e. recover the original data decrypting it with the same key.
Package:
Summary:
Compact CSS and JavaScript served by HTML pages
Groups:
Author:
Description:
This class can be used to compact CSS and JavaScript served by HTML pages.
It can compact CSS styles by removing comments and whitespaces. It can also do the same for JavaScript calling the JSMin class.
The class can also combine multiple CSS files or multiple JavaScript file into a single file.
The resulting CSS or JavaScript can be cached on the server side files.
The class can generate the necessary HTML to use the resulting CSS and JavaScript in the current page.