1<?php 2// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project 3// 4// All Rights Reserved. See copyright.txt for details and a complete list of authors. 5// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. 6// $Id$ 7 8class Search_Action_UnknownStep implements Search_Action_Step 9{ 10 private $actionName; 11 12 function __construct($action = null) 13 { 14 $this->actionName = $action; 15 } 16 17 function getFields() 18 { 19 return []; 20 } 21 22 function validate(array $entry) 23 { 24 throw new Search_Action_Exception(tr('Unknown search action step: %0', $this->actionName)); 25 } 26 27 function execute(array $entry) 28 { 29 } 30 31 function requiresInput() 32 { 33 return false; 34 } 35 36 function getName() 37 { 38 return $this->actionName; 39 } 40} 41