本文整理匯總了PHP中Inspekt::makeCookieCage方法的典型用法代碼示例。如果您正苦於以下問題:PHP Inspekt::makeCookieCage方法的具體用法?PHP Inspekt::makeCookieCage怎麽用?PHP Inspekt::makeCookieCage使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Inspekt
的用法示例。
在下文中一共展示了Inspekt::makeCookieCage方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: _makeCages
/**
* Enter description here...
*
* @see Inspekt_Supercage::Factory()
* @param string $config_file
* @param boolean $strict
*/
function _makeCages($config_file = NULL, $strict = TRUE)
{
$this->get = Inspekt::makeGetCage($config_file, $strict);
$this->post = Inspekt::makePostCage($config_file, $strict);
$this->cookie = Inspekt::makeCookieCage($config_file, $strict);
$this->env = Inspekt::makeEnvCage($config_file, $strict);
$this->files = Inspekt::makeFilesCage($config_file, $strict);
// $this->session = Inspekt::makeSessionCage($config_file, $strict);
$this->server = Inspekt::makeServerCage($config_file, $strict);
}
示例2: testMakeCookieCage
/**
*
*/
public function testMakeCookieCage()
{
$cage = Inspekt::makeCookieCage();
$this->assertTrue($cage instanceof Inspekt_Cage);
}
示例3: makeCages
/**
* Enter description here...
*
* @see Inspekt\Supercage::Factory()
* @param string $config_file
* @param boolean $strict
*/
protected function makeCages($config_file = null, $strict = true)
{
$this->get = Inspekt::makeGetCage($config_file, $strict);
$this->post = Inspekt::makePostCage($config_file, $strict);
$this->cookie = Inspekt::makeCookieCage($config_file, $strict);
$this->env = Inspekt::makeEnvCage($config_file, $strict);
$this->files = Inspekt::makeFilesCage($config_file, $strict);
$this->server = Inspekt::makeServerCage($config_file, $strict);
}
示例4: _makeCages
/**
* Enter description here...
*
* @see Inspekt_Supercage::Factory()
* @param boolean $strict
*/
function _makeCages($strict = TRUE)
{
$this->get = Inspekt::makeGetCage($strict);
$this->post = Inspekt::makePostCage($strict);
$this->cookie = Inspekt::makeCookieCage($strict);
$this->env = Inspekt::makeEnvCage($strict);
$this->files = Inspekt::makeFilesCage($strict);
/**
* Don't put session in cage as it will nullify $_SESSION and we will loose the session completely.
* TODO: Find a way to put the session data in cage and still retain the session correctly
*/
//$this->session= Inspekt::makeSessionCage($strict);
$this->server = Inspekt::makeServerCage($strict);
}