API17

API17:JTable::hit

From Joomla! Documentation

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