We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
This function inserts a new entry into the database for this user and the given url.
void User->add_click( string $url [, date $date] )
url: The URL of the article that the user clicked on.
date optional: The time at which the user clicked. Defaults to now.
None
Code:
<?php $u = User::find( "abcde" ); $u->add_click( "http://www.google.com/" ); ?>