Back to Joomla project (class list)

Class BeforePublishEvent - list of methods

Event class for JTable's onBeforePublish event

Extends

Direct known subclasses

Package: Joomla\CMS\Event\Table
Copyright: (C) 2016 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE
Located at: Joomla/Event/Table/BeforePublishEvent.php
Project: Joomla

Method Summary

public
(mixed $name, array $arguments = array())

Constructor.
Parameters
  • string $name The event name.
  • array $arguments The event arguments.
-
  • \BadMethodCallException
Show source code of this method: __construct Source Code

protected mixed
(mixed $value)

Setter for the pks argument
Parameters
  • array|null $value The value to set
Returns
  • mixed
-
  • \BadMethodCallException if the argument is not of the expected type
Show source code of this method: setQuery Source Code

protected int
(mixed $value)

Setter for the state argument
Parameters
  • int $value The value to set
Returns
  • int
-
  • \BadMethodCallException if the argument is not of the expected type
Show source code of this method: setState Source Code

protected int
(mixed $value)

Setter for the userId argument
Parameters
  • int $value The value to set
Returns
  • int
-
  • \BadMethodCallException if the argument is not of the expected type
Show source code of this method: setUserId Source Code

Tags Summary

Since
4.0.0