Skip to content

Instantly share code, notes, and snippets.

@kiall
Created August 21, 2011 01:10
Show Gist options
  • Save kiall/1159929 to your computer and use it in GitHub Desktop.
Save kiall/1159929 to your computer and use it in GitHub Desktop.
object Validation(6) {
protected _bound => array(4) (
":validation" => object Validation(6) {
*RECURSION*
}
":data" => array(5) (
"client_id" => string(4) "test"
"response_type" => string(4) "code"
"redirect_uri" => string(30) "http://wk01-lmst.managedit.ie/"
"state" => NULL
"scope" => NULL
)
":field" => string(12) "redirect_uri"
":value" => string(30) "http://wk01-lmst.managedit.ie/"
)
protected _rules => array(3) (
"client_id" => array(2) (
0 => array(2) (
0 => string(9) "not_empty"
1 => array(1) (
0 => string(6) ":value"
)
)
1 => array(2) (
0 => string(5) "regex"
1 => array(2) (
0 => string(6) ":value"
1 => string(21) "/^[a-z0-9-_]{3,32}$/i"
)
)
)
"response_type" => array(2) (
0 => array(2) (
0 => string(9) "not_empty"
1 => array(1) (
0 => string(6) ":value"
)
)
1 => array(2) (
0 => string(5) "regex"
1 => string(31) "/^(token|code|code-and-token)$/"
)
)
"redirect_uri" => array(1) (
0 => array(2) (
0 => string(3) "url"
1 => array(1) (
0 => string(6) ":value"
)
)
)
)
protected _labels => array(3) (
"client_id" => string(9) "client id"
"response_type" => string(13) "response type"
"redirect_uri" => string(12) "redirect uri"
)
protected _empty_rules => array(2) (
0 => string(9) "not_empty"
1 => string(7) "matches"
)
protected _errors => array(0)
protected _data => array(5) (
"client_id" => string(4) "test"
"response_type" => string(4) "code"
"redirect_uri" => string(30) "http://wk01-lmst.managedit.ie/"
"state" => NULL
"scope" => NULL
)
}
YES!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment