开发者

Zend - Conditional Based on Controller Action - Possible?

From a header.php layout we can give instructions based on a given controller by doing:

$this->controller === "my开发者_Go百科controllerhere";

Can we do more or less the same but with a specific controller Action ?

Thanks in advance, MEM


Not totally sure what you're after but the front controller request object contains the names of the requested module, controller and action.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜