* (reference ) an assoc array to hold the flattened values.
*
* @return CRM_Event_BAO_ManageEvent
- * @static
*/
public static function retrieve(&$params, &$defaults) {
$event = new CRM_Event_DAO_Event();
*
* @return Object
* DAO object on sucess, null otherwise
- * @static
*/
public static function setIsActive($id, $is_active) {
return CRM_Core_DAO::setFieldValue('CRM_Event_DAO_Event', $id, 'is_active', $is_active);
* @param array $params
* Reference array contains the values submitted by the form.
*
- * @static
*
* @return object
*/
* Reference array contains the values submitted by the form.
*
* @return object
- * @static
*/
public static function create(&$params) {
$transaction = new CRM_Core_Transaction();
* Event id.
*
* @return mixed|null
- * @static
*/
public static function del($id) {
if (!$id) {
* @param int $eventId
* Event with which loc block is associated.
*
- * @static
*/
public static function deleteEventLocBlock($locBlockId, $eventId = NULL) {
$query = "SELECT count(ce.id) FROM civicrm_event ce WHERE ce.loc_block_id = $locBlockId";
* true if you need to check permission else false.
*
* @return array
- * @static
*/
static function getEvents(
$all = 0,
/**
* Get events Summary
*
- * @static
*
* @return array
* Array of event summary values
*
* @return null|string
* title of the event
- * @static
*/
public static function &getMapInfo(&$id) {
*
* @return array
* array of all the events that are searched
- * @static
*/
static function &getCompleteInfo(
$start = NULL,
* @param array $profileFields
*
* @return void
- * @static
*/
public static function displayProfile(&$params, $gid, &$groupTitle, &$values, &$profileFields = array()) {
if ($gid) {
*
* @return string
* the permission that the user has (or null)
- * @static
*/
public static function checkPermission($eventId = NULL, $type = CRM_Core_Permission::VIEW) {
static $permissions = NULL;
*
* @return array
* an array of email ids
- * @static
*/
public static function getFromEmailIds($eventId = NULL) {
$fromEmailValues['from_email_id'] = CRM_Core_BAO_Email::getFromEmail();
*
* @return int
* event total seats w/ given criteria.
- * @static
*/
public static function eventTotalSeats($eventId, $extraWhereClause = NULL) {
if (empty($eventId)) {