newsletter-bundle/src/Resources/contao/models/NewsletterBlacklistModel.php
public static function findByHashAndPid($strHash, $intPid, array $arrOptions=array())
	{
		$t = static::$strTable;

		return static::findOneBy(array("($t.hash=? AND $t.pid=?)"), array($strHash, $intPid), $arrOptions);
	}
public static function findByHashAndPid($strHash, $intPid, array $arrOptions=array())
	{
		$t = static::$strTable;

		return static::findOneBy(array("($t.hash=? AND $t.pid=?)"), array($strHash, $intPid), $arrOptions);
	}
Find a blacklist entry by its hash and PID.

@param string  $strHash    The hash
@param integer $intPid     The page ID
@param array   $arrOptions An optional options array

@return static The model or null if there is no article