<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id$
*
*/
*
* @param array $params input parameters
*/
+ /**
+ * @param array $params
+ *
+ * @return object
+ * @throws API_Exception
+ */
static function create($params) {
// Ensure mysql phone function exists
CRM_Core_DAO::checkSqlFunctionsExist();
}
/**
- * takes an associative array and adds phone
+ * Takes an associative array and adds phone
*
* @param array $params (reference ) an assoc array of name/value pairs
*
*
* @param int $id the contact id
*
+ * @param bool $updateBlankLocInfo
+ * @param null $type
+ * @param array $filters
+ *
* @return array the array of phone ids which are potential numbers
* @access public
* @static
*/
- static function allPhones($id, $updateBlankLocInfo = FALSE, $type = NULL, $filters = array(
- )) {
+ static function allPhones($id, $updateBlankLocInfo = FALSE, $type = NULL, $filters = array()) {
if (!$id) {
return NULL;
}
* @param array $entityElements the array containing entity_id and
* entity_table name
*
+ * @param null $type
+ *
* @return array the array of phone ids which are potential numbers
* @access public
* @static