예제 #1
0
파일: tweet.php 프로젝트: kabaj/Twitter
 static function SetConnection(mysqli $newConnection)
 {
     Tweet::$connection = $newConnection;
 }
예제 #2
0
파일: tweet.php 프로젝트: aggie29/Tweeter
 public static function SetConnection(mysqli $newConnection)
 {
     //z duzej litery funkcja bo jest statyczna
     Tweet::$connection = $newConnection;
 }