- md5
- a026a302be091c92185c59805dfc8f14
- sha1
- b3390c5e907f7c779e2e7e1cc2e58b9719ef9d9d
- sha256
- 79f9a2c33ccaa1b3e2c739518877828457720a4df0e083109419e5b173b00d51
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
<?php
/**
* Joomla! Content Management System
*
* @copyright Copyright (C) 2005 - 2019 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 transitions are performed
*
* @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;
/**
* Returns a table name for the state association
*
* @param string $section An optional section to differ different areas in the component
*
* @return string
*
* @since 4.0.0
*/
public function getWorkflowTableBySection(string $section = null) : string;
}
No other release has this exact content. See every version of this file.