<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>isseium</author_name>
  <author_url>https://blog.hatena.ne.jp/isseium/</author_url>
  <blog_title>isseium's blog</blog_title>
  <blog_url>https://isseium.hateblo.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>ZendFramework</anon>
  </categories>
  <description>※ isseium が2009/02/03 に書いた記事を、ブログ移転のため転載したものです。情報が古い可能性があります。 いろいろ拡張しているなかで、View側に今のモジュール名を使いたくなった。アクションコントローラのpreDispatch内に $req = $this-&gt;getRequest(); $moduleName = $req-&gt;getModuleName(); $controllerName = $req-&gt;getControllerName(); $actionName = $req-&gt;getActionName();と書けばいいのだが、各アクションコントローラに毎回書くのは…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fisseium.hateblo.jp%2Fentry%2F20100911%2F1284214512&quot; title=&quot;Zend Framework の index.php 内で モジュール名等を取得 - isseium&amp;#39;s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-09-11 23:15:12</published>
  <title>Zend Framework の index.php 内で モジュール名等を取得</title>
  <type>rich</type>
  <url>https://isseium.hateblo.jp/entry/20100911/1284214512</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
