Zend Framework

Implement "Countable" interface

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.6.0RC1
  • Fix Version/s: 1.9.3
  • Component/s: Zend_Feed
  • Labels:
    None

Description

The "Countable" should implemented so the following code would work :

<?php
$channel = new Zend_Feed_Rss('http://rss.example.com/channelName');
echo count($channel);

Activity

Hide
Jean-Marc Fontaine added a comment -

This patch implements the "Countable" interface and contains the corresponding unit test.

Show
Jean-Marc Fontaine added a comment - This patch implements the "Countable" interface and contains the corresponding unit test.
Hide
Pádraic Brady added a comment -

Added in r18292

Show
Pádraic Brady added a comment - Added in r18292

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: