XpressEngine Core
1.11.2
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
classes
xml
xmlquery
queryargument
SortQueryArgument.class.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (C) NAVER <http://www.navercorp.com> */
3
10
class
SortQueryArgument
extends
QueryArgument
11
{
12
17
function
toString
()
18
{
19
$arg = sprintf(
"\n"
.
'${\'%s_argument\'} = new SortArgument(\'%s\', %s);'
.
"\n"
20
, $this->argument_name
21
, $this->argument_name
22
,
'$args->'
. $this->variable_name);
23
$arg .= $this->argument_validator->toString();
24
25
$arg .= sprintf(
'if(!${\'%s_argument\'}->isValid()) return ${\'%s_argument\'}->getErrorMessage();'
.
"\n"
26
, $this->argument_name
27
, $this->argument_name
28
);
29
return
$arg;
30
}
31
32
}
33
/* End of file DefaultValue.class.php */
34
/* Location: ./classes/xml/xmlquery/queryargument/DefaultValue.class.php */
SortQueryArgument\toString
toString()
Definition:
SortQueryArgument.class.php:17
QueryArgument
Definition:
QueryArgument.class.php:10
SortQueryArgument
Definition:
SortQueryArgument.class.php:10
Generated on Tue Dec 18 2018 17:04:25 for XpressEngine Core by
1.8.5