| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
class CRM_Core_BAO_Block {
/**
- * Fields that are required for a valid block
+ * Fields that are required for a valid block.
*/
static $requiredBlockFields = array(
'email' => array('email'),
}
/**
- * Check if the current block object has any valid data
+ * Check if the current block object has any valid data.
*
* @param array $blockFields
* Array of fields that are of interest for this object.
}
/**
- * Check if the current block exits
+ * Check if the current block exits.
*
* @param string $blockName
* Bloack name.
}
/**
- * Get all block ids for a contact
+ * Get all block ids for a contact.
*
* @param string $blockName
* Block name.
}
/**
- * Takes an associative array and creates a block
+ * Takes an associative array and creates a block.
*
* @param string $blockName
* Block name.
}
/**
- * Delete block
+ * Delete block.
*
* @param string $blockName
* Block name.
}
/**
- * Sort location array so primary element is first
+ * Sort location array so primary element is first.
*
* @param array $locations
*/
}
return ($l1 < $l2) ? -1 : 1;
}
+
}