/** * Method override to check-out a record. * * @param integer $pk The ID of the primary key. * * @return boolean True if successful, false if an error occurs. * * @since 11.1 */ public function checkout($pk = null) { $pk = $pk ? $pk : JRequest::getVar('id'); // Execute parent $result = parent::checkout($pk); // Build Return Object return $this->_setReturnValue($result); }