Update commentaries

This commit is contained in:
Yoggzo 2016-03-27 19:40:36 +02:00
parent e9c7477ff0
commit 19d84e2ae4
3 changed files with 64 additions and 10 deletions

View file

@ -1,11 +1,11 @@
<?php
/**
* File containing the Image Class.
* File containing the Automating Class.
*
* @version 1.0 Initialisation of this file
* @since 1.0 Core application's file
*
* @author Yogg 'yogg at epsina . com'
* @author Evan Pisani 'yogg at epsina . com'
*
* @todo Complete the functions with errors detection and finish the descriptions
*/
@ -48,7 +48,13 @@ class automating implements Core{
$this->{$action.""}();
}
/**
* Create a new image on a new server
*
* @param $error the error triggered
*
* @return Image the new image created
*/
private function createImageOnNewServer(){
try{
$image = new Image($this->app);
@ -87,9 +93,8 @@ class automating implements Core{
}catch(Exception $e){
$this->app->getErrorInstance()->OtherException($e);
}
$this->app->setOutput("Auto", $res);
}
}
?>