Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
142f2cc7
Commit
142f2cc7
authored
Jan 05, 2017
by
Leigh B Stoller
Browse files
Add Project() method to get instance project.
parent
21f93ce4
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/aptui/instance_defs.php
View file @
142f2cc7
<?php
#
# Copyright (c) 2006-201
6
University of Utah and the Flux Group.
# Copyright (c) 2006-201
7
University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
...
...
@@ -233,6 +233,12 @@ class Instance
$this
->
instance
=
mysql_fetch_array
(
$query_result
);
return
0
;
}
# Project of instance.
function
Project
()
{
return
Project
::
Lookup
(
$this
->
pid_idx
());
}
#
# Class function to create a new Instance
#
...
...
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