apidoc
[ class tree: apidoc ] [ index: apidoc ] [ all elements ]

Class: XML_Indexing_Builder_Attribute

Source Location: /XML_Indexing-0.3.5/Indexing/Builder/Attribute.php

Class Overview

XML_Indexing_Builder
   |
   --XML_Indexing_Builder_Attribute

Attribute-based indexes builder


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2004 Samalyse SARL corporation

Methods


Inherited Variables

Inherited Methods

Class: XML_Indexing_Builder

XML_Indexing_Builder::XML_Indexing_Builder()
Constructor
XML_Indexing_Builder::getIndex()
Return the built index
XML_Indexing_Builder::getNamespaces()
Return extracted namespaces declarations
XML_Indexing_Builder::_enterScope()
Prototype for entering node scope
XML_Indexing_Builder::_exitScope()
Prototype for exiting node scope
XML_Indexing_Builder::_handleRegion()
Prototype for region handling

Class Details

[line 37]
Attribute-based indexes builder


[ Top ]


Method Detail

XML_Indexing_Builder_Attribute (Constructor)   [line 54]

XML_Indexing_Builder_Attribute XML_Indexing_Builder_Attribute( string $filename, string $xroot, string $attr)

Constructor
  • Access: public

Parameters:

string   $filename   —  The filename to build an index against
string   $xroot   —  XPath root
string   $attr   —  Name of the attribute to analyse

[ Top ]

_handleRegion   [line 69]

void _handleRegion( int $offset, int $length, array $attribs)

Handle a matched region
  • Access: protected

Overrides XML_Indexing_Builder::_handleRegion() (Prototype for region handling)

Parameters:

int   $offset   —  Byte offset of the matched region
int   $length   —  Length in bytes of the matched region
array   $attribs   —  Attributes of the tag enclosing the region

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:23:33 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.