- md5
- 2348ff783c8ae1c4f7bc8b4e0f64f7cb
- sha1
- 479f1a53e7a953559423e871f13141a05524a9c5
- sha256
- bca6a7ef5b518c26370cf3f2e25221e50e8108d1d7b29c886ed2c602cd1acc91
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;
}
The same content is in 5 releases, Joomla 4.0.0-alpha7 to 4.0.0-alpha11. See them all, or every version of this file.