function hackedProject::file_get_location in Hacked! 7.2
Same name and namespace in other branches
- 6.2 includes/hacked_project.inc \hackedProject::file_get_location()
File
- includes/
hackedProject.inc, line 366
Class
- hackedProject
- Encapsulates a Hacked! project.
Code
function file_get_location($storage = 'local', $file) {
switch ($storage) {
case 'remote':
$this
->download_remote_project();
return $this->remote_files
->file_get_location($file);
case 'local':
$this
->hash_local_project();
return $this->local_files
->file_get_location($file);
}
return FALSE;
}