MongoDB::__get

(PECL mongo >=1.0.2) Gets a collection public MongoCollection MongoDB::__get ( string $name ) This is the easiest way of getting a collection from a database object. If a collection name contains strange characters, you may have to use MongoDB::selectCollection() instead. <?php $mongo = new MongoClient(); // the following two lines are equivalent $collection = $mongo->selectDB("foo")->selectCollection("bar")

EventBuffer::drain

(PECL event >= 1.2.6-beta) Removes specified number of bytes from the front of the buffer without copying it anywhere public bool EventBuffer::drain ( int $len ) Behaves as EventBuffer::read() , except that it does not copy the data: it just removes it from the front of the buffer. Parameters: len The number of bytes to remove from the buffer. Retu

ImagickDraw::getFillOpacity

(PECL imagick 2.0.0) Returns the opacity used when drawing float ImagickDraw::getFillOpacity ( void ) Returns the opacity used when drawing using the fill color or fill texture. Fully opaque is 1.0. Returns: The opacity. This function is currently not documented; only its argument list is available.

SolrQuery::getMltMaxNumQueryTerms

(PECL solr >= 0.9.2) Returns the maximum number of query terms that will be included in any generated query public int SolrQuery::getMltMaxNumQueryTerms ( void ) Returns the maximum number of query terms that will be included in any generated query Returns: Returns an integer on success and NULL if not set.

SolrQuery::setFacetDateGap

(PECL solr >= 0.9.2) Maps to facet.date.gap public SolrQuery SolrQuery::setFacetDateGap ( string $value [, string $field_override ] ) Maps to facet.date.gap Parameters: value See facet.date.gap field_override The name of the field Returns: Returns the current SolrQuery object, if the return value is used.

Imagick::removeImage

(PECL imagick 2.0.0) Removes an image from the image list bool Imagick::removeImage ( void ) Removes an image from the image list. Returns: Returns TRUE on success. Exception: Throws ImagickException on error.

DOMElement::setIdAttributeNode

(PHP 5, PHP 7) Declares the attribute specified by node to be of type ID public void DOMElement::setIdAttributeNode ( DOMAttr $attr, bool $isId ) Declares the attribute specified by attr to be of type ID. Parameters: attr The attribute node. isId Set it to TRUE if you want name to be of type ID, FALSE otherwise. Ret

PDF_fit_pdi_page

(PECL pdflib >= 2.0.0) Place imported PDF page bool PDF_fit_pdi_page ( resource $pdfdoc, int $page, float $x, float $y, string $optlist ) Places an imported PDF page on the page, subject to various options. Returns TRUE on success or FALSE on failure.

SolrQuery::getFacetDateEnd

(PECL solr >= 0.9.2) Returns the value for the facet.date.end parameter public string SolrQuery::getFacetDateEnd ([ string $field_override ] ) Returns the value for the facet.date.end parameter. This method accepts an optional field override Parameters: field_override The name of the field Returns: Returns a string on success and NULL if not s

maxdb_disable_rpl_parse

(PECL maxdb >= 1.0) Disable RPL parse bool maxdb_disable_rpl_parse ( resource $link ) This function is currently not documented; only its argument list is available.