List of useful functions

Public

</> CopyGet raw version
php
  1. // generates machine name (from pathauto module)
  2. pathauto_cleanstring($string, array $options = array());
  3. // reurns a filtered text.
  4. check_markup($text, $format_id = NULL, $langcode = '', $cache = FALSE);
  5. // drupal native file include
  6. module_load_include('inc', 'node', 'node.admin');
  7. // do not cache the current page
  8. drupal_page_is_cacheable(FALSE);
  9. // useful to cut a text #1
  10. text_summary($text, $format = NULL, $size = NULL);
  11. // useful to cut a text #2
  12. views_trim_text($alter, $value);

Comments