* @param bool $isLogin
*
* @return void
- * @static
*/
public static function synchronize(&$user, $update, $uf, $ctype, $isLogin = FALSE) {
$userSystem = CRM_Core_Config::singleton()->userSystem;
* @param bool $isLogin
*
* @return CRM_Core_DAO_UFMatch|bool
- * @static
*/
public static function &synchronizeUFMatch(&$user, $userKey, $uniqId, $uf, $status = NULL, $ctype = NULL, $isLogin = FALSE) {
$config = CRM_Core_Config::singleton();
* Id of the contact to update.
*
* @return void
- * @static
*/
public static function updateUFName($contactId) {
if (!$contactId) {
* Email to be modified for the user.
*
* @return void
- * @static
*/
public static function updateContactEmail($contactId, $emailAddress) {
$strtolower = function_exists('mb_strtolower') ? 'mb_strtolower' : 'strtolower';
* Id of the user to delete.
*
* @return void
- * @static
*/
public static function deleteUser($ufID) {
$ufmatch = new CRM_Core_DAO_UFMatch();
*
* @return int
* contact_id on success, null otherwise
- * @static
*/
public static function getContactId($ufID) {
if (!isset($ufID)) {
*
* @return int
* uf_id of the given contact_id on success, null otherwise
- * @static
*/
public static function getUFId($contactID) {
if (!isset($contactID)) {
*
* @return int
* contact_id on success, null otherwise
- * @static
*/
public static function getContactIDs() {
$id = array();
*
* @return bool
* true if allowed to login, false otherwise
- * @static
*/
public static function getAllowedToLogin($openId) {
$ufmatch = new CRM_Core_DAO_UFMatch();
*
* @return int
* next highest unused value for uf_id
- * @static
*/
public static function getNextUfIdValue() {
$query = "SELECT MAX(uf_id)+1 AS next_uf_id FROM civicrm_uf_match";