CoreFiles by mySites.guru
WorkflowServiceInterface.php54 lines, 1,235 bytes, from Joomla_4.0.0-alpha5-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha3
md5
264a4085ef56f7e130db5cefd0272d0d
sha1
e9cc54144a870c93f68293772403ae5ef7b40aa5
sha256
91b19798afb78a7ba324c4552fac7a866d166084842dfb702a7b2da82209e573
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Workflow;

defined('JPATH_PLATFORM') or die;

/**
 * The workflow service.
 *
 * @since  4.0.0
 */
interface WorkflowServiceInterface
{
	/**
	 * Method to filter transitions by given id of state.
	 *
	 * @param   array  $transitions  Array of transitions to filter for
	 * @param   int    $pk           Id of the state on which the tranistions are performecd
	 *
	 * @return  array
	 *
	 * @since  4.0.0
	 */
	public function filterTransitions($transitions, $pk): array;

	/**
	 * Method to change state of multiple ids
	 *
	 * @param   array  $pks        Array of IDs
	 * @param   int    $condition  Condition of the workflow state
	 *
	 * @return  boolean
	 *
	 * @since   4.0.0
	 */
	public static function updateContentState($pks, $condition): bool;

	/**
	 * Returns an array of possible conditions for the component.
	 *
	 * @param   string  $extension  Full extension string
	 *
	 * @return  array
	 *
	 * @since   4.0.0
	 */
	public static function getConditions($extension): array;
}

No other release has this exact content. See every version of this file.