- 283 名前:nobodyさん mailto:sage [2012/05/27(日) 22:08:09.79 ID:???]
- $obj->setHoge('a')->setPiyo('b')->setFoo('c')->setBar('d')
$obj->setAttributes('Hoge','a')->setAttributes('Piyo','b')->setAttributes('Foo','c')->setAttributes('Bar','d') $obj->setAttributes(array('Hoge','Piyo','Foo','Bar'), array('a','b','c','d')) $obj->setAttributes(array('Hoge'=>'a','Piyo'=>'b','Foo'=>'c','Bar'=>'d')) どれがお好み?
|

|