symfony PHPフレームワークpart2 (531レス)
symfony PHPフレームワークpart2 http://medaka.5ch.net/test/read.cgi/php/1268753684/
上
下
前
次
1-
新
通常表示
512バイト分割
レス栞
273: nobodyさん [sage] 2010/11/17(水) 05:46:56 ID:??? C:\MyProject\link>php symfony link:access user01 111.111.111.111 #accessTask.class.php <?php class accessTask extends sfBaseTask { public function configure() { $this->namespace = 'link'; $this->name = 'access'; $this->addArgument('username', sfCommandArgument::OPTIONAL); $this->addArgument('ip', sfCommandArgument::OPTIONAL); } public function execute($arguments = array(), $options = array()) { $access = new Accesslog(); $access->setUsername($arguments['username']); $access->setIp($arguments['ip']); $access->save(); $this->log('access from '. $arguments['ip']); } } http://medaka.5ch.net/test/read.cgi/php/1268753684/273
メモ帳
(0/65535文字)
上
下
前
次
1-
新
書
関
写
板
覧
索
設
栞
歴
あと 258 レスあります
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.881s*