|
@@ -22,6 +22,7 @@
|
|
|
package php;
|
|
|
|
|
|
import haxe.ds.StringMap;
|
|
|
+import php.Global;
|
|
|
|
|
|
/**
|
|
|
Platform-specific PHP Library. Provides some platform-specific functions
|
|
@@ -122,9 +123,8 @@ class Lib {
|
|
|
* @param ?additionalHeaders
|
|
|
* @param ?additionalParameters
|
|
|
*/
|
|
|
- public static function mail(to : String, subject : String, message : String, ?additionalHeaders : String, ?additionalParameters : String) : Bool
|
|
|
- {
|
|
|
- throw "Not implemented";
|
|
|
+ public static inline function mail(to : String, subject : String, message : String, ?additionalHeaders : String, ?additionalParameters : String) : Bool {
|
|
|
+ return Global.mail(to, subject, message, additionalHeaders, additionalParameters);
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -134,10 +134,6 @@ class Lib {
|
|
|
throw "Not implemented";
|
|
|
}
|
|
|
|
|
|
- static function appendType(o : Dynamic, path : Array<String>, t : Dynamic) {
|
|
|
- throw "Not implemented";
|
|
|
- }
|
|
|
-
|
|
|
public static function getClasses() {
|
|
|
throw "Not implemented";
|
|
|
}
|