追加ライブラリフィード関数Feed::countVersion: Fegg 5.xOn this pageFeed::count 追加した投稿の数 説明 public int Feed::count() 追加した投稿の数を返します。 例 Controlleruse Fegg\Tool\Feed;$feed = new Feed('News', '/news/');foreach ($rows as $row) { $feed->add(array('title' => $row['title'], 'link' => '/news/post_' . $row['news_id'] . '.html'));}$feed->count(); // count($rows)