src/classes/CCValidator.php
protected function proof_result( $rule, $key, $result )
	{	
		if ( $result === false )
		{
			$this->failed[$key][] = $rule;
		}

		if ( $this->success === true )
		{
			return $this->success = $result;
		}

		return $result;
	}
protected function proof_result( $rule, $key, $result )
	{	
		if ( $result === false )
		{
			$this->failed[$key][] = $rule;
		}

		if ( $this->success === true )
		{
			return $this->success = $result;
		}

		return $result;
	}
protected function proof_result ( $ rule , $ key , $ result ) { if ( $ result === false ) { $ this -> failed [ $ key ] [ ] = $ rule ; } if ( $ this -> success === true ) { return $ this -> success = $ result ; } return $ result ; }
Proof a single result and update the success property

@param string		$rule
@param string 	$key
@param array 		$result
@return bool
Proof a single result and update the success property