First commit
This commit is contained in:
commit
c6e2478c40
13918 changed files with 2303184 additions and 0 deletions
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: eileen
|
||||
* Date: 8/12/2014
|
||||
* Time: 10:33 AM
|
||||
*/
|
||||
class CRM_Contribute_Exception_InactiveContributionPageException extends Exception {
|
||||
private $id;
|
||||
|
||||
/**
|
||||
* @param string $message
|
||||
* @param int $id
|
||||
*/
|
||||
public function __construct($message, $id) {
|
||||
parent::__construct(ts($message));
|
||||
$this->id = $id;
|
||||
CRM_Core_Error::debug_log_message('inactive contribution page access attempted - page number ' . $id);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Contribution page ID.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getID() {
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue