Eases reading and writing cookies.
This is the code documentation for the SproutCMS project
Search documentation |
class CookieEases reading and writing cookies.
Extending this class<?php /** * New class description goes here * * @author Your Name, 2024-11-25 **/ class NewClassName extends Cookie { /** * Sets a cookie with the given parameters. **/ public function set (string $name, string $value, integer $expire, string $path, string $domain, boolean $secure, boolean $httponly) { // Method code goes here } /** * Fetch a cookie value **/ public function get (string $name, mixed $default) { // Method code goes here } /** * Nullify and unset a cookie. **/ public function delete (string $name, string $path, string $domain) { // Method code goes here } } ?> |
Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |