PHP Classes

Cookie Objects Class: Store and retrieve composite data items in cookies

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-11-13 (10 years ago) RSS 2.0 feedStarStarStarStar 61%Total: 2,446 This week: 1All time: 1,485 This week: 1,374Up
Version License Categories  
cookieobjectsclass 1.0GNU General Publi...HTTP, PHP 5
Description Author  

This class was designed to store and retrieve objects made of composite data items of a custom type in cookies. The information is stored like a bidimensional array of n objects of m items.

This classe can be used in applications based on shopping carts.

The class provides means to:

- Add new objects
- Add new items to each object
- Store all objects information in a cookie
- Test if a cookie was previously stored
- Retrieve the objects information from a cookie
- Delete an object from the list of objects
- Remove cookies

In Spanish:

Esta clase esta diseñada para alojar objetos de un determinado tipo en una cookie, cada objeto tiene la posibilidad de alojar un item. Esto lo podríamos visualizar como la creación de una matriz n x m.

Las aplicaciones podrían se:

Carrito de compras

Proyectos que tengan la necesidad de almacenar datos y su utilización a lo largo de bastantes páginas.

Picture of Guillermo de Jesus Perez Chavero
Name: Guillermo de Jesus Perez ... <contact>
Classes: 1 package by
Country: Mexico Mexico
Age: 33
All time rank: 116912 in Mexico Mexico
Week rank: 1064 Up16 in Mexico Mexico Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file CookieObjects.php Class souce code
Plain text file GetData.php Example It receive the data to store into the cookie
Plain text file Index.php Example the main source of the example
Plain text file Languaje.css Data style sheet of the example
HTML file SendData.php Data It send the data to store into the cookie
Plain text file ViewDataI.php Example It view all data from the cookie

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,446All time:1,485
 This week:1This week:1,374Up
User Ratings User Comments (1)  
 All time