示例#1
0
 /**
  * Returns the number of elements in the collection.
  *
  * Required by the Countable interface
  *
  * @return int
  */
 public function count()
 {
     return $this->__rowset->count();
 }
示例#2
0
 /**
  * Returns the number of elements in the collection.
  *
  * Required by the Countable interface
  *
  * @return int
  */
 public function count()
 {
     return $this->__entities->count();
 }