Moodle selectors manager.  
 More...
Moodle selectors manager. 
- Copyright
- 2013 David Monllaó 
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 
◆ get_allowed_selectors()
  
  | 
        
          | static behat_selectors::get_allowed_selectors | ( |  | ) |  |  | static | 
 
Allowed selectors getter. 
- Return values
- 
  
  
 
 
◆ get_allowed_text_selectors()
  
  | 
        
          | static behat_selectors::get_allowed_text_selectors | ( |  | ) |  |  | static | 
 
Allowed text selectors getter. 
- Return values
- 
  
  
 
 
◆ get_behat_selector()
  
  | 
        
          | static behat_selectors::get_behat_selector | ( |  | $selectortype, |  
          |  |  |  | $element, |  
          |  |  | Behat\Mink\Session | $session ) |  | static | 
 
Returns the behat selector and locator for a given moodle selector and locator. 
- Parameters
- 
  
    | string | $selectortype | The moodle selector type, which includes moodle selectors |  | string | $element | The locator we look for in that kind of selector |  | Session | $session | The Mink opened session |  
 
- Return values
- 
  
    | array | Contains the selector and the locator expected by Mink. |  
 
 
 
◆ normalise_named_selector()
  
  | 
        
          | static behat_selectors::normalise_named_selector | ( | string | $selector, |  
          |  |  | string | $locator ) |  | static | 
 
Normalise the selector and locator for a named partial. 
- Parameters
- 
  
    | string | $selector | The selector name |  | string | $locator | The value to normalise |  
 
- Return values
- 
  
  
 
 
◆ transform_find_for_field()
  
  | 
        
          | static behat_selectors::transform_find_for_field | ( | behat_base | $context, |  
          |  |  | string | $label, |  
          |  |  | Element | $container ) |  | static | 
 
Transform the selector for a field. 
- Parameters
- 
  
    | string | $label | The label to find |  | Element | $container | The container to look within |  
 
- Return values
- 
  
    | array | The selector, locator, and container to search within |  
 
 
 
The documentation for this class was generated from the following file: