getPlatforms() public static méthode

Get array of image's platforms
public static getPlatforms ( integer $accountId, integer $envId ) : array
$accountId integer
$envId integer
Résultat array Array of platform's names
Exemple #1
0
 public function viewAction()
 {
     $this->restrictAccess('IMAGES');
     $this->response->page('ui/images/view.js', ['platforms' => Image::getPlatforms($this->user->getAccountId() ?: null, $this->getEnvironmentId(true))]);
 }