Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Marcus Andersson
aurweb
Commits
1e9147a3
Commit
1e9147a3
authored
Jan 23, 2009
by
Loui Chang
Browse files
Return CategoryID from the json interface.
Signed-off-by:
Loui Chang
<
louipc.ist@gmail.com
>
parent
80a95443
Changes
1
Hide whitespace changes
Inline
Side-by-side
web/lib/aurjson.class.php
View file @
1e9147a3
...
...
@@ -22,7 +22,7 @@ if (!extension_loaded('json'))
class
AurJSON
{
private
$dbh
=
false
;
private
$exposed_methods
=
array
(
'search'
,
'info'
);
private
$fields
=
array
(
'ID'
,
'Name'
,
'Version'
,
'Description'
,
private
$fields
=
array
(
'ID'
,
'Name'
,
'Version'
,
'
CategoryID'
,
'
Description'
,
'URL'
,
'URLPath'
,
'License'
,
'NumVotes'
,
'OutOfDate'
);
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment