*/
class ContributionPage extends PHPUnit_Framework_Testcase {
/**
- * Helper function to create
+ * Helper function to create.
* a Contribution Page
*
* @param int $id
*
- * @return mixed $contributionPage id of created Contribution Page
+ * @return int
+ * id of created Contribution Page
*/
public static function create($id = NULL) {
require_once "CRM/Contribute/BAO/ContributionPage.php";
}
/**
- * Helper function to delete a Contribution Page
+ * Helper function to delete a Contribution Page.
*
- * @param int $contributionPageId - id of the Contribution Page
- * to be deleted
- * @return boolean true if Contribution Page deleted, false otherwise
+ * @param int $contributionPageId
+ * Id of the Contribution Page.
+ * to be deleted
+ * @return bool
+ * true if Contribution Page deleted, false otherwise
*/
public static function delete($contributionPageId) {
require_once "CRM/Contribute/DAO/ContributionPage.php";
}
return $result;
}
+
}