API17

JTable::hit

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JTable::hit

Description

Method to increment the hits for a row if the necessary property/field exists.


public function hit ($pk=null)
Parameter Type Default Description
$pk mixed null An optional primary key value to increment. If not set the instance property value is used.
  • Returns boolean True on success.
  • Defined on line 834 of libraries/joomla/database/table.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples


Advertisement