test4.php 666 B

123456789101112131415161718192021222324
  1. <?
  2. use Doctrine\Common\Collections\ArrayCollection;
  3. use Doctrine\Common\Collections\Collection;
  4. use Doctrine\Common\Collections\Criteria;
  5. require_once "doctrine/bootstrap.php";
  6. require_once "functions.php";
  7. //require_once "server.php";
  8. require_once "auth.php";
  9. require_once 'CheckPoint.php';
  10. require_once 'CheckPointType.php';
  11. use \CheckPoints\CheckPoint;
  12. require_once 'api/vendor/autoload.php';
  13. require_once 'api/vendor/yiisoft/yii2/Yii.php';
  14. $config = require_once 'api/config/web.php';
  15. (new yii\web\Application($config));
  16. $company = Company::Find(1);
  17. $company->GetOfflineAccounts(1);
  18. //$vid = GetVagrantTagID(163);
  19. //echo "vid $vid";