Browse Source

Improve documentation of visitor-related functions

tags/2020.09
Hypolite Petovan 1 month ago
parent
commit
470079c37c
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      boot.php
  2. +2
    -2
      src/Core/Session.php

+ 1
- 1
boot.php View File

@@ -266,7 +266,7 @@ function public_contact()
}

/**
* Returns contact id of authenticated site visitor or false
* Returns public contact id of authenticated site visitor or false
*
* @return int|bool visitor_id or false
*/


+ 2
- 2
src/Core/Session.php View File

@@ -65,10 +65,10 @@ class Session
}

/**
* Returns contact ID for given user ID
* Return the user contact ID of a visitor for the given user ID they are visiting
*
* @param integer $uid User ID
* @return integer Contact ID of visitor for given user ID
* @return integer
*/
public static function getRemoteContactID($uid)
{


Loading…
Cancel
Save