Beispiel #1
0
 function __construct($VideoID, $SaveCache = true, $CheckCacheSize = false)
 {
     self::$CONFIG_LOCATION = __DIR__ . "/../../Config.json";
     $this->SetConfigAndMySQLi();
     $this->ValidateRequisites();
     $this->videoID = $VideoID;
     $this->LoadVideoData($SaveCache);
     if ($CheckCacheSize) {
         self::ClearCache();
     }
 }