首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > An IRB-like shell for symfony

An IRB-like shell for symfony

  • 资源大小:38.39 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

An IRB-like interactive shell for symfony. What"s new: 28/07/2008 removed dependency for PEAR. symfony-interactive-standalone.php Usage: install PHP_Shell from PEAR: pear install channel://pear.php.net/PHP_Shell-0.3.0 download symfony-interactive.php and place it in your symfony project folder. Example: /var/www/htdocs/myapp run it like this: php symfony-interactive.php Now you"re hooked up and have access to all propel objects, symfony classes etc. >> $user = UserPeer::doSelectOne(new Criteria());>> $user->getName()"Andrei Baragan">> $user->setName("Andreius Baragan")>> $user->save()1>> $user->getName()"Andreius Baragan"
VIP VIP
0.206428s