import v1.1.0_RC2 | 2009-09-20
This commit is contained in:
@ -1,4 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Test
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: DomQuery.php 16874 2009-07-20 12:46:00Z mikaelkael $
|
||||
*/
|
||||
|
||||
/** PHPUnit_Framework_Constraint */
|
||||
require_once 'PHPUnit/Framework/Constraint.php';
|
||||
|
||||
@ -7,12 +27,12 @@ require_once 'Zend/Dom/Query.php';
|
||||
|
||||
/**
|
||||
* Zend_Dom_Query-based PHPUnit Constraint
|
||||
*
|
||||
*
|
||||
* @uses PHPUnit_Framework_Constraint
|
||||
* @package Zend_Test
|
||||
* @subpackage PHPUnit
|
||||
* @copyright Copyright (C) 2008 - Present, Zend Technologies, Inc.
|
||||
* @license New BSD {@link http://framework.zend.com/license/new-bsd}
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint
|
||||
{
|
||||
@ -72,7 +92,7 @@ class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Constructor; setup constraint state
|
||||
*
|
||||
*
|
||||
* @param string $path CSS selector path
|
||||
* @return void
|
||||
*/
|
||||
@ -83,8 +103,8 @@ class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Indicate negative match
|
||||
*
|
||||
* @param bool $flag
|
||||
*
|
||||
* @param bool $flag
|
||||
* @return void
|
||||
*/
|
||||
public function setNegate($flag = true)
|
||||
@ -94,8 +114,8 @@ class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Whether or not path is a straight XPath expression
|
||||
*
|
||||
* @param bool $flag
|
||||
*
|
||||
* @param bool $flag
|
||||
* @return Zend_Test_PHPUnit_Constraint_DomQuery
|
||||
*/
|
||||
public function setUseXpath($flag = true)
|
||||
@ -106,7 +126,7 @@ class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Evaluate an object to see if it fits the constraints
|
||||
*
|
||||
*
|
||||
* @param string $other String to examine
|
||||
* @param null|string Assertion type
|
||||
* @return bool
|
||||
@ -176,11 +196,11 @@ class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Report Failure
|
||||
*
|
||||
*
|
||||
* @see PHPUnit_Framework_Constraint for implementation details
|
||||
* @param mixed $other CSS selector path
|
||||
* @param string $description
|
||||
* @param bool $not
|
||||
* @param string $description
|
||||
* @param bool $not
|
||||
* @return void
|
||||
* @throws PHPUnit_Framework_ExpectationFailedException
|
||||
*/
|
||||
@ -236,7 +256,7 @@ class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Complete implementation
|
||||
*
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function toString()
|
||||
@ -246,8 +266,8 @@ class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Check to see if content is matched in selected nodes
|
||||
*
|
||||
* @param Zend_Dom_Query_Result $result
|
||||
*
|
||||
* @param Zend_Dom_Query_Result $result
|
||||
* @param string $match Content to match
|
||||
* @return bool
|
||||
*/
|
||||
@ -269,9 +289,9 @@ class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Check to see if content is NOT matched in selected nodes
|
||||
*
|
||||
* @param Zend_Dom_Query_Result $result
|
||||
* @param string $match
|
||||
*
|
||||
* @param Zend_Dom_Query_Result $result
|
||||
* @param string $match
|
||||
* @return bool
|
||||
*/
|
||||
protected function _notMatchContent($result, $match)
|
||||
@ -292,8 +312,8 @@ class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Check to see if content is matched by regex in selected nodes
|
||||
*
|
||||
* @param Zend_Dom_Query_Result $result
|
||||
*
|
||||
* @param Zend_Dom_Query_Result $result
|
||||
* @param string $pattern
|
||||
* @return bool
|
||||
*/
|
||||
@ -315,8 +335,8 @@ class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Check to see if content is NOT matched by regex in selected nodes
|
||||
*
|
||||
* @param Zend_Dom_Query_Result $result
|
||||
*
|
||||
* @param Zend_Dom_Query_Result $result
|
||||
* @param string $pattern
|
||||
* @return bool
|
||||
*/
|
||||
@ -338,8 +358,8 @@ class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Determine if content count matches criteria
|
||||
*
|
||||
* @param Zend_Dom_Query_Result $result
|
||||
*
|
||||
* @param Zend_Dom_Query_Result $result
|
||||
* @param int $test Value against which to test
|
||||
* @param string $type assertion type
|
||||
* @return boolean
|
||||
@ -364,8 +384,8 @@ class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Get node content, minus node markup tags
|
||||
*
|
||||
* @param DOMNode $node
|
||||
*
|
||||
* @param DOMNode $node
|
||||
* @return string
|
||||
*/
|
||||
protected function _getNodeContent(DOMNode $node)
|
||||
|
@ -1,15 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Test
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Exception.php 16874 2009-07-20 12:46:00Z mikaelkael $
|
||||
*/
|
||||
|
||||
/** PHPUnit_Framework_ExpectationFailedException */
|
||||
require_once 'PHPUnit/Framework/ExpectationFailedException.php';
|
||||
|
||||
/**
|
||||
* Zend_Test_PHPUnit_Constraint_Exception
|
||||
*
|
||||
* Zend_Test_PHPUnit_Constraint_Exception
|
||||
*
|
||||
* @uses PHPUnit_Framework_ExpectationFailedException
|
||||
* @package Zend_Test
|
||||
* @subpackage PHPUnit
|
||||
* @copyright Copyright (C) 2008 - Present, Zend Technologies, Inc.
|
||||
* @license New BSD {@link http://framework.zend.com/license/new-bsd}
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Test_PHPUnit_Constraint_Exception extends PHPUnit_Framework_ExpectationFailedException
|
||||
{
|
||||
|
@ -1,15 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Test
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Redirect.php 16874 2009-07-20 12:46:00Z mikaelkael $
|
||||
*/
|
||||
|
||||
/** PHPUnit_Framework_Constraint */
|
||||
require_once 'PHPUnit/Framework/Constraint.php';
|
||||
|
||||
/**
|
||||
* Redirection constraints
|
||||
*
|
||||
*
|
||||
* @uses PHPUnit_Framework_Constraint
|
||||
* @package Zend_Test
|
||||
* @subpackage PHPUnit
|
||||
* @copyright Copyright (C) 2008 - Present, Zend Technologies, Inc.
|
||||
* @license New BSD {@link http://framework.zend.com/license/new-bsd}
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Test_PHPUnit_Constraint_Redirect extends PHPUnit_Framework_Constraint
|
||||
{
|
||||
@ -51,7 +71,7 @@ class Zend_Test_PHPUnit_Constraint_Redirect extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Constructor; setup constraint state
|
||||
*
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
@ -60,8 +80,8 @@ class Zend_Test_PHPUnit_Constraint_Redirect extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Indicate negative match
|
||||
*
|
||||
* @param bool $flag
|
||||
*
|
||||
* @param bool $flag
|
||||
* @return void
|
||||
*/
|
||||
public function setNegate($flag = true)
|
||||
@ -71,7 +91,7 @@ class Zend_Test_PHPUnit_Constraint_Redirect extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Evaluate an object to see if it fits the constraints
|
||||
*
|
||||
*
|
||||
* @param string $other String to examine
|
||||
* @param null|string Assertion type
|
||||
* @return bool
|
||||
@ -126,11 +146,11 @@ class Zend_Test_PHPUnit_Constraint_Redirect extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Report Failure
|
||||
*
|
||||
*
|
||||
* @see PHPUnit_Framework_Constraint for implementation details
|
||||
* @param mixed $other
|
||||
* @param mixed $other
|
||||
* @param string $description Additional message to display
|
||||
* @param bool $not
|
||||
* @param bool $not
|
||||
* @return void
|
||||
* @throws PHPUnit_Framework_ExpectationFailedException
|
||||
*/
|
||||
@ -170,7 +190,7 @@ class Zend_Test_PHPUnit_Constraint_Redirect extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Complete implementation
|
||||
*
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function toString()
|
||||
@ -180,7 +200,7 @@ class Zend_Test_PHPUnit_Constraint_Redirect extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Check to see if content is matched in selected nodes
|
||||
*
|
||||
*
|
||||
* @param Zend_Controller_Response_HttpTestCase $response
|
||||
* @param string $match Content to match
|
||||
* @return bool
|
||||
@ -200,9 +220,9 @@ class Zend_Test_PHPUnit_Constraint_Redirect extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Check to see if content is NOT matched in selected nodes
|
||||
*
|
||||
*
|
||||
* @param Zend_Controller_Response_HttpTestCase $response
|
||||
* @param string $match
|
||||
* @param string $match
|
||||
* @return bool
|
||||
*/
|
||||
protected function _notMatch($response, $match)
|
||||
@ -220,7 +240,7 @@ class Zend_Test_PHPUnit_Constraint_Redirect extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Check to see if content is matched by regex in selected nodes
|
||||
*
|
||||
*
|
||||
* @param Zend_Controller_Response_HttpTestCase $response
|
||||
* @param string $pattern
|
||||
* @return bool
|
||||
@ -240,7 +260,7 @@ class Zend_Test_PHPUnit_Constraint_Redirect extends PHPUnit_Framework_Constraint
|
||||
|
||||
/**
|
||||
* Check to see if content is NOT matched by regex in selected nodes
|
||||
*
|
||||
*
|
||||
* @param Zend_Controller_Response_HttpTestCase $response
|
||||
* @param string $pattern
|
||||
* @return bool
|
||||
|
@ -1,15 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Test
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: ResponseHeader.php 16874 2009-07-20 12:46:00Z mikaelkael $
|
||||
*/
|
||||
|
||||
/** PHPUnit_Framework_Constraint */
|
||||
require_once 'PHPUnit/Framework/Constraint.php';
|
||||
|
||||
/**
|
||||
* Response header PHPUnit Constraint
|
||||
*
|
||||
*
|
||||
* @uses PHPUnit_Framework_Constraint
|
||||
* @package Zend_Test
|
||||
* @subpackage PHPUnit
|
||||
* @copyright Copyright (C) 2008 - Present, Zend Technologies, Inc.
|
||||
* @license New BSD {@link http://framework.zend.com/license/new-bsd}
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Test_PHPUnit_Constraint_ResponseHeader extends PHPUnit_Framework_Constraint
|
||||
{
|
||||
@ -62,7 +82,7 @@ class Zend_Test_PHPUnit_Constraint_ResponseHeader extends PHPUnit_Framework_Cons
|
||||
|
||||
/**
|
||||
* Constructor; setup constraint state
|
||||
*
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
@ -71,8 +91,8 @@ class Zend_Test_PHPUnit_Constraint_ResponseHeader extends PHPUnit_Framework_Cons
|
||||
|
||||
/**
|
||||
* Indicate negative match
|
||||
*
|
||||
* @param bool $flag
|
||||
*
|
||||
* @param bool $flag
|
||||
* @return void
|
||||
*/
|
||||
public function setNegate($flag = true)
|
||||
@ -82,7 +102,7 @@ class Zend_Test_PHPUnit_Constraint_ResponseHeader extends PHPUnit_Framework_Cons
|
||||
|
||||
/**
|
||||
* Evaluate an object to see if it fits the constraints
|
||||
*
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $other String to examine
|
||||
* @param null|string Assertion type
|
||||
* @return bool
|
||||
@ -157,11 +177,11 @@ class Zend_Test_PHPUnit_Constraint_ResponseHeader extends PHPUnit_Framework_Cons
|
||||
|
||||
/**
|
||||
* Report Failure
|
||||
*
|
||||
*
|
||||
* @see PHPUnit_Framework_Constraint for implementation details
|
||||
* @param mixed $other
|
||||
* @param mixed $other
|
||||
* @param string $description Additional message to display
|
||||
* @param bool $not
|
||||
* @param bool $not
|
||||
* @return void
|
||||
* @throws PHPUnit_Framework_ExpectationFailedException
|
||||
*/
|
||||
@ -210,7 +230,7 @@ class Zend_Test_PHPUnit_Constraint_ResponseHeader extends PHPUnit_Framework_Cons
|
||||
|
||||
/**
|
||||
* Complete implementation
|
||||
*
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function toString()
|
||||
@ -220,9 +240,9 @@ class Zend_Test_PHPUnit_Constraint_ResponseHeader extends PHPUnit_Framework_Cons
|
||||
|
||||
/**
|
||||
* Compare response code for positive match
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $response
|
||||
* @param int $code
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $response
|
||||
* @param int $code
|
||||
* @return bool
|
||||
*/
|
||||
protected function _code(Zend_Controller_Response_Abstract $response, $code)
|
||||
@ -233,9 +253,9 @@ class Zend_Test_PHPUnit_Constraint_ResponseHeader extends PHPUnit_Framework_Cons
|
||||
|
||||
/**
|
||||
* Compare response code for negative match
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $response
|
||||
* @param int $code
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $response
|
||||
* @param int $code
|
||||
* @return bool
|
||||
*/
|
||||
protected function _notCode(Zend_Controller_Response_Abstract $response, $code)
|
||||
@ -246,8 +266,8 @@ class Zend_Test_PHPUnit_Constraint_ResponseHeader extends PHPUnit_Framework_Cons
|
||||
|
||||
/**
|
||||
* Retrieve response code
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $response
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $response
|
||||
* @return int
|
||||
*/
|
||||
protected function _getCode(Zend_Controller_Response_Abstract $response)
|
||||
@ -261,9 +281,9 @@ class Zend_Test_PHPUnit_Constraint_ResponseHeader extends PHPUnit_Framework_Cons
|
||||
|
||||
/**
|
||||
* Positive check for response header presence
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $response
|
||||
* @param string $header
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $response
|
||||
* @param string $header
|
||||
* @return bool
|
||||
*/
|
||||
protected function _header(Zend_Controller_Response_Abstract $response, $header)
|
||||
@ -273,9 +293,9 @@ class Zend_Test_PHPUnit_Constraint_ResponseHeader extends PHPUnit_Framework_Cons
|
||||
|
||||
/**
|
||||
* Negative check for response header presence
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $response
|
||||
* @param string $header
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $response
|
||||
* @param string $header
|
||||
* @return bool
|
||||
*/
|
||||
protected function _notHeader(Zend_Controller_Response_Abstract $response, $header)
|
||||
@ -285,9 +305,9 @@ class Zend_Test_PHPUnit_Constraint_ResponseHeader extends PHPUnit_Framework_Cons
|
||||
|
||||
/**
|
||||
* Retrieve response header
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $response
|
||||
* @param string $header
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $response
|
||||
* @param string $header
|
||||
* @return string|null
|
||||
*/
|
||||
protected function _getHeader(Zend_Controller_Response_Abstract $response, $header)
|
||||
@ -302,10 +322,10 @@ class Zend_Test_PHPUnit_Constraint_ResponseHeader extends PHPUnit_Framework_Cons
|
||||
|
||||
/**
|
||||
* Positive check for header contents matching pattern
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $response
|
||||
* @param string $header
|
||||
* @param string $match
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $response
|
||||
* @param string $header
|
||||
* @param string $match
|
||||
* @return bool
|
||||
*/
|
||||
protected function _headerContains(Zend_Controller_Response_Abstract $response, $header, $match)
|
||||
@ -321,10 +341,10 @@ class Zend_Test_PHPUnit_Constraint_ResponseHeader extends PHPUnit_Framework_Cons
|
||||
|
||||
/**
|
||||
* Negative check for header contents matching pattern
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $response
|
||||
* @param string $header
|
||||
* @param string $match
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $response
|
||||
* @param string $header
|
||||
* @param string $match
|
||||
* @return bool
|
||||
*/
|
||||
protected function _notHeaderContains(Zend_Controller_Response_Abstract $response, $header, $match)
|
||||
@ -340,10 +360,10 @@ class Zend_Test_PHPUnit_Constraint_ResponseHeader extends PHPUnit_Framework_Cons
|
||||
|
||||
/**
|
||||
* Positive check for header contents matching regex
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $response
|
||||
* @param string $header
|
||||
* @param string $pattern
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $response
|
||||
* @param string $header
|
||||
* @param string $pattern
|
||||
* @return bool
|
||||
*/
|
||||
protected function _headerRegex(Zend_Controller_Response_Abstract $response, $header, $pattern)
|
||||
@ -359,10 +379,10 @@ class Zend_Test_PHPUnit_Constraint_ResponseHeader extends PHPUnit_Framework_Cons
|
||||
|
||||
/**
|
||||
* Negative check for header contents matching regex
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $response
|
||||
* @param string $header
|
||||
* @param string $pattern
|
||||
*
|
||||
* @param Zend_Controller_Response_Abstract $response
|
||||
* @param string $header
|
||||
* @param string $pattern
|
||||
* @return bool
|
||||
*/
|
||||
protected function _notHeaderRegex(Zend_Controller_Response_Abstract $response, $header, $pattern)
|
||||
|
Reference in New Issue
Block a user