<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>KuniTsuji</author_name>
  <author_url>https://blog.hatena.ne.jp/KuniTsuji/</author_url>
  <blog_title>KuniTsujiのPHP開発日記</blog_title>
  <blog_url>https://kunitsuji.hatenadiary.org/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>CodeIgniter</anon>
  </categories>
  <description>もともとMyNETSはPEAR::DBを使ったりしておりましたが（現在はMySQLネイティブ関数）、 db_get_allとかdb_get_rowとか。 ADODBでも GetAll,GetRowとかありまして、結構慣れています。 CodeIgniterのDBライブラリを使う場合、 $this-&gt;db-&gt;query($sql); とした後に $query-&gt;row(); $query-&gt;result(); とかして結果を取り出します。 めんどくさがり屋の自分としては、モデルで余分に1行書きたくないので、ラップしてみました。メソッド getAll() getAllPage() getAllArr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkunitsuji.hatenadiary.org%2Fentry%2F20080702%2F1214969365&quot; title=&quot;DBクラスのラッパー - KuniTsujiのPHP開発日記&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>2008-07-02 12:29:25</published>
  <title>DBクラスのラッパー</title>
  <type>rich</type>
  <url>https://kunitsuji.hatenadiary.org/entry/20080702/1214969365</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
