downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<SplPriorityQueue::rewindSplPriorityQueue::top>
Last updated: Thu, 26 Jun 2008

SplPriorityQueue::setExtractFlags

(No version information available, might be only in CVS)

SplPriorityQueue::setExtractFlags — Sets the mode of extraction

Description

void SplPriorityQueue::setExtractFlags ( int $flags )

Parameters

flags

Defines what is extracted by SplPriorityQueue::current, SplPriorityQueue::top and SplPriorityQueue::extract.

  • SplPriorityQueue::EXTR_DATA (0x00000001): Extract the data
  • SplPriorityQueue::EXTR_PRIORITY (0x00000002): Extract the priority
  • SplPriorityQueue::EXTR_BOTH (0x00000003): Extract an array containing both

The default mode is SplPriorityQueue::EXTR_DATA.

Return Values

No value is returned.



add a noteadd a note User Contributed Notes
Sets the mode of extraction
There are no user contributed notes for this page.




<SplPriorityQueue::rewindSplPriorityQueue::top>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs