2017-09-05 15 views
0

zend framework 3の別のプラグインでプラグインメソッドを使用するにはどうすればよいですか?プラグインメソッドを他のプラグインと一緒にZend Framework 3に挿入するには?

+0

何ですか?プラグインは何ですか? – tasmaniski

+1

[他のプラグインZF2のコールプラグイン]の複製がある可能性があります(https://stackoverflow.com/questions/17301223/call-plugin-in-other-plugin-zf2) –

+0

私はこの質問がhttps: /stackoverflow.com/questions/17301223/call-plugin-in-other-plugin-zf2 –

答えて

0
$controller = $this->getController(); // get current controller 

$otherPlugin = $controller->otherPlugin(); // get the another plugin obj 

$otherPlugin->getOtherPluginMethod(); // now call another plugin method 
+0

こんにちはGautam、あなたの助けをありがとう..働いて.. – Mukesh

+0

@Mukesh知って、その助けをし、承認された場合は、投票アップを検討する –

関連する問題