public static function getiOSCertificat() { if (is_null(self::$_ios_certificat)) { $certificat = new self(); $certificat->find(array('type' => 'ios')); self::$_ios_certificat = $certificat->getPath(); } return self::$_ios_certificat; }