symfony API

sfDomCssSelector Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.3 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.3 version. Switch to:

sfDomCssSelector allows to navigate a DOM with CSS selector.

Method Summary

Method Details

  • count () Browse code

    Returns the number of matching nodes (implements Countable).

  • (mixed) current () Browse code

    Escapes and return the current value (as required by the Iterator interface).

    returns The escaped value

  • getElements () Browse code

  • getElementsByTagName () Browse code

  • getElementsForNode () Browse code

  • getNode () Browse code

  • getNodes () Browse code

  • getTexts () Browse code

  • getValue () Browse code

  • getValues () Browse code

  • (string) key () Browse code

    Get the key associated with the current value (as required by the Iterator interface).

    returns The key

  • matchAll () Browse code

  • matchCustomSelector () Browse code

  • matchMultipleCustomSelectors () Browse code

  • matchSingle () Browse code

  • next () Browse code

    Moves to the next element (as required by the Iterator interface).

  • nth () Browse code

  • rewind () Browse code

    Reset the array to the beginning (as required for the Iterator interface).

  • split_custom_selector () Browse code

  • tokenize () Browse code

  • tokenize_custom_selector () Browse code

  • tokenize_selectors () Browse code

  • tokenize_selector_name () Browse code

  • (bool) valid () Browse code

    Returns true if the current element is valid (as required by the Iterator interface).


    The current element will not be valid if {@link next()} has fallen off the
    end of the array or if there are no elements in the array and {@link
    rewind()} was called.

    returns The validity of the current element; true if it is valid

  • __construct () Browse code