You are here

function _sweaver_default_sweaver_selector in Sweaver 6

Same name and namespace in other branches
  1. 7 sweaver.registry.inc \_sweaver_default_sweaver_selector()

Default selectors.

1 call to _sweaver_default_sweaver_selector()
sweaver_default_sweaver_selector in ./sweaver.module
Implementation of hook_default_sweaver_selector().

File

./sweaver.registry.inc, line 186
Registry for Sweaver.

Code

function _sweaver_default_sweaver_selector() {
  $selectors = array();
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'allclasses';
  $selector->description = 'All other classes';
  $selector->selector_selector = '';
  $selector->selector_highlight = FALSE;
  $selectors['allclasses'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'allids';
  $selector->description = 'All other id\'s';
  $selector->selector_selector = '';
  $selector->selector_highlight = FALSE;
  $selectors['allids'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'alltags';
  $selector->description = 'All other tags';
  $selector->selector_selector = '';
  $selector->selector_highlight = FALSE;
  $selectors['alltags'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'body';
  $selector->description = 'Body';
  $selector->selector_selector = 'body';
  $selector->selector_highlight = FALSE;
  $selectors['body'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'link';
  $selector->description = 'a link';
  $selector->selector_selector = 'a';
  $selector->selector_highlight = FALSE;
  $selectors['link'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'div';
  $selector->description = 'a region';
  $selector->selector_selector = 'div';
  $selector->selector_highlight = FALSE;
  $selectors['div'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'span';
  $selector->description = 'an item';
  $selector->selector_selector = 'span';
  $selector->selector_highlight = FALSE;
  $selectors['span'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'ul';
  $selector->description = 'an unordered list';
  $selector->selector_selector = 'ul';
  $selector->selector_highlight = FALSE;
  $selectors['ul'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'ol';
  $selector->description = 'an ordered list';
  $selector->selector_selector = 'ol';
  $selector->selector_highlight = FALSE;
  $selectors['ol'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'li';
  $selector->description = 'a list item';
  $selector->selector_selector = 'li';
  $selector->selector_highlight = FALSE;
  $selectors['li'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'h1';
  $selector->description = 'Heading 1';
  $selector->selector_selector = 'h1';
  $selector->selector_highlight = FALSE;
  $selectors['h1'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'h2';
  $selector->description = 'Heading 2';
  $selector->selector_selector = 'h2';
  $selector->selector_highlight = FALSE;
  $selectors['h2'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'h3';
  $selector->description = 'Heading 3';
  $selector->selector_selector = 'h3';
  $selector->selector_highlight = FALSE;
  $selectors['h3'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'p';
  $selector->description = 'a paragraph';
  $selector->selector_selector = 'p';
  $selector->selector_highlight = FALSE;
  $selectors['p'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'form';
  $selector->description = 'a form';
  $selector->selector_selector = 'form';
  $selector->selector_highlight = FALSE;
  $selectors['form'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'label';
  $selector->description = 'a label';
  $selector->selector_selector = 'label';
  $selector->selector_highlight = FALSE;
  $selectors['label'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'input';
  $selector->description = 'an input field';
  $selector->selector_selector = '.form-text';
  $selector->selector_highlight = FALSE;
  $selectors['input'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'textarea';
  $selector->description = 'a textarea';
  $selector->selector_selector = '.form-textarea';
  $selector->selector_highlight = FALSE;
  $selectors['textarea'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'submit';
  $selector->description = 'a submit button';
  $selector->selector_selector = '.form-submit';
  $selector->selector_highlight = FALSE;
  $selectors['submit'] = $selector;
  return $selectors;
}