<?php
/**
* A sample workflow condition that always evaluates to false.
*
* @copyright 2011 Perforce Software. All rights reserved.
* @license Please see LICENSE.txt in top-level folder of this distribution.
* @version <release>/<patch>
*/
class Workflow_Workflow_Condition_False extends Workflow_ConditionAbstract
{
/**
* Always return false.
*
* @param Workflow_Model_Transition $transition transition to evaluate this condition for.
* @param P4Cms_Record $record record to evaluate this condition for.
* @param array|null $pending optional - updated values
* to consider.
* @return bool false no matter what.
*/
protected function _evaluate(
Workflow_Model_Transition $transition,
P4Cms_Record $record,
array $pending = null)
{
return false;
}
}
# |
Change |
User |
Description |
Committed |
|
#1
|
16170 |
perforce_software |
Move Chronicle files to follow new path scheme for branching. |
|
|
//guest/perforce_software/chronicle/application/workflow/workflows/conditions/False.php |
#1
|
8972 |
Matt Attaway |
Initial add of the Chronicle source code |
|
|