Back to OrderingField class

Method getItemId

protected int
getItemId
()
Retrieves the current Item's Id.
Returns
  • int The current item ID
Since
  • 3.2
Class: OrderingField
Project: Joomla

Method getItemId - Source code

/**
 * Retrieves the current Item's Id.
 *
 * @return  integer  The current item ID
 *
 * @since   3.2
 */
protected function getItemId()
{
    return (int) $this->form->getValue('id');
}