*
* @return object
* CRM_Core_BAO_Website object on success, null otherwise
- * @static
*/
public static function add(&$params) {
$hook = empty($params['id']) ? 'create' : 'edit';
* Process website
*
* @param array $params
- * Associated array.
* @param int $contactID
* Contact id.
*
* @param $skipDelete
*
* @return void
- * @static
*/
public static function create(&$params, $contactID, $skipDelete) {
if (empty($params)) {
* Website ids.
*
* @return void
- * @static
*/
public static function del($ids) {
$query = 'DELETE FROM civicrm_website WHERE id IN ( ' . implode(',', $ids) . ')';
* @param array $params
* @param $values
*
- * @return boolean
- * @static
+ * @return bool
*/
public static function &getValues(&$params, &$values) {
$websites = array();
*
* @return array
* the array of website details
- * @static
*/
public static function allWebsites($id, $updateBlankLocInfo = FALSE) {
if (!$id) {