Info Panel
Roll it!   ⇔
1 - Documantation
* Knowledge Base
  • Mvc
  • Application
  • Advanced
  • Operators
  • Api
* Origin Template
  • Customize
* Core Classes
* Classes

* all grey titles exists but not documented yet

Get Correct Length

Type: core

Class: Validation

Platform: 2v

Function: getCorrectLength

Visibility: private

Parameter: getCorrectLength($returnDescription)

Description:
This is a private function that will parse the $length input to minLength and maxLength.
Parameters:
(optional) - integer|string - $length - Parameter of integer that will describe maxLength or xx-xx that will describe minLength and maxLength.
Return:
string|array - Nothing.
Callable from (extended classes):
application: controller,view
advanced: controller,view
operators: controller,view
api: controller,view
Info Panel
Roll it!   ⇔