remove icallback since QF2 has notcallback now
This commit is contained in:
parent
4d874f7528
commit
67122981b4
@ -1,25 +0,0 @@
|
||||
<?php
|
||||
require_once 'HTML/QuickForm2/Rule/Callback.php';
|
||||
|
||||
/**
|
||||
* Custom rule that behaves like a callback but inverts the result.
|
||||
*
|
||||
* @author Christian Weiske <cweiske@php.net>
|
||||
*/
|
||||
class SemanticScuttle_QuickForm2_Rule_ICallback
|
||||
extends HTML_QuickForm2_Rule_Callback
|
||||
{
|
||||
|
||||
/**
|
||||
* Validates the owner element.
|
||||
* Inverts the return value of the callback.
|
||||
*
|
||||
* @return bool The value returned by a callback function
|
||||
*/
|
||||
protected function validateOwner()
|
||||
{
|
||||
return !parent::validateOwner();
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Loading…
Reference in New Issue
Block a user