TwistPHP Documentation

delete

File path: dist/twist/Core/Utilities/Cookie.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

deleteDelete a cookie.

Parameters

Name Type Description
$strNamestringn/a
[$strPath = ']stringn/a
[$strDomain = false]stringn/a
[$blRemoveFromGlobal = false]booleann/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strName 'foo';
$strPath ';
$strDomain = false;
$blRemoveFromGlobal = false;

//Call the function delete with the example vars
Twist::Cookie() -> delete($strName, $strPath, $strDomain, $blRemoveFromGlobal);