[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Input/ -> Cookie.php (summary)

Joomla! Content Management System

Copyright: (C) 2011 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 101 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Cookie:: (2 methods):
  __construct()
  set()


Class: Cookie  - X-Ref

Joomla! Input Cookie Class

__construct(array $source = null, array $options = array()   X-Ref
Constructor.

param: array  $source   Ignored.
param: array  $options  Array of configuration parameters (Optional)

set($name, $value, $expire = 0, $path = '', $domain = '', $secure = false, $httpOnly = false)   X-Ref
Sets a value

param: string   $name      Name of the value to set.
param: mixed    $value     Value to assign to the input.
param: integer  $expire    The time the cookie expires. This is a Unix timestamp so is in number
param: string   $path      The path on the server in which the cookie will be available on. If set
param: string   $domain    The domain that the cookie is available to. To make the cookie available
param: boolean  $secure    Indicates that the cookie should only be transmitted over a secure HTTPS
param: boolean  $httpOnly  When TRUE the cookie will be made accessible only through the HTTP protocol.
return: void



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer