Commit 142f2cc7 authored by Leigh Stoller's avatar Leigh Stoller

Add Project() method to get instance project.

parent 21f93ce4
<?php
#
# Copyright (c) 2006-2016 University of Utah and the Flux Group.
# Copyright (c) 2006-2017 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
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment