phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
AjaxRule Class Reference

Ajax\semantic\components\validation$AjaxRule This class is part of phpmv-ui. More...

+ Inheritance diagram for AjaxRule:

Public Member Functions

 __construct ($type, $url, $params, $jsCallback=null, $method='post', $parameters=[], $prompt=NULL, $value=NULL)
 
 compile (JsUtils $js)
 
- Public Member Functions inherited from CustomRule
 __construct ($type, $jsFunction, $prompt=NULL, $value=NULL)
 
- Public Member Functions inherited from Rule
 __construct ($type, $prompt=NULL, $value=NULL)
 
 getType ()
 
 setType ($type)
 
 getPrompt ()
 
 setPrompt ($prompt)
 
 getValue ()
 
 setValue ($value)
 
 jsonSerialize ()
 

Private Attributes

 $ajaxCall
 

Additional Inherited Members

- Static Public Member Functions inherited from Rule
static match ($name, $prompt=NULL)
 A field should match the value of another validation field, for example to confirm passwords.
 
static different ($name, $prompt=NULL)
 A field should be different than another specified field.
 
static integer ($min=NULL, $max=NULL, $prompt=NULL)
 A field is an integer value, or matches an integer range.
 
static decimal ($prompt=NULL)
 
static number ($prompt=NULL)
 
static is ($value, $prompt=NULL)
 
static isExactly ($value, $prompt=NULL)
 
static not ($value, $prompt=NULL)
 
static notExactly ($value, $prompt=NULL)
 
static contains ($value, $prompt=NULL)
 
static containsExactly ($value, $prompt=NULL)
 
static doesntContain ($value, $prompt=NULL)
 
static doesntContainExactly ($value, $prompt=NULL)
 
static minCount ($value, $prompt=NULL)
 
static maxCount ($value, $prompt=NULL)
 
static exactCount ($value, $prompt=NULL)
 
static email ($prompt=NULL)
 
static url ($prompt=NULL)
 
static regExp ($value, $prompt=NULL)
 
static custom ($name, $jsFunction)
 
static ajax (JsUtils $js, $name, $url, $params, $jsCallback, $method="post", $parameters=[])
 
- Protected Attributes inherited from CustomRule
 $jsFunction
 

Detailed Description

Ajax\semantic\components\validation$AjaxRule This class is part of phpmv-ui.

Author
jc
Version
1.0.0

Definition at line 15 of file AjaxRule.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $type,
  $url,
  $params,
  $jsCallback = null,
  $method = 'post',
  $parameters = [],
  $prompt = NULL,
  $value = NULL 
)

Definition at line 19 of file AjaxRule.php.

Member Function Documentation

◆ compile()

compile ( JsUtils  $js)

Reimplemented from CustomRule.

Definition at line 35 of file AjaxRule.php.

Field Documentation

◆ $ajaxCall

$ajaxCall
private

Definition at line 17 of file AjaxRule.php.


The documentation for this class was generated from the following file: