PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 2,464 All time: 1,573 This week: 455Up
Version License Categories
cookieobjectsclass 1.0.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

  Files folder image Files (6)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,464
This week:0
All time:1,573
This week:455Up
User Ratings User Comments (1)
 All time
Utility:90%StarStarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:-
Examples:80%StarStarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:1039