Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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,445 All time: 1,474 This week: 1,188Up
Version License Categories  
cookieobjectsclass 1.0GNU General Public Lice...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: 115612 in Mexico Mexico
Week rank: 1596 Down18 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,445All time:1,474
 This week:0This week:1,188Up
User Ratings User Comments (1)  
 All time
Utility:90%StarStarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:-
Examples:80%StarStarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:777