Classes and Functions

Primary tabs

Description
list_allowed_values() Get the list of allowed values for a select field(). View
node_type_get_names() Returns a list of available node type names with the machine name as the key and human name as the value. View
file_create_url() creates the absolute url from a path uri. View
file_uri_target() Returns the part of a URI after the schema. "public://sample/test.txt" would return "sample/test.txt" View
image_style_path() get the the image path in the format public://styles/artwork_pdf/public/1004.jpg View
drupal_realpath() Get the absolute path to a file given the scheme. ex. public://123.jpg
ex. /var/www/html/sites/default/files/123.jpg
View
l()

Formats an internal or external URL link as an HTML anchor tag.

This function correctly handles aliased paths and adds an 'active' class attribute to links...

View
taxonomy_get_tree()

Return the terms belong to the given vocabulary. If parent is set return terms below it.

View
taxonomy_term_load()

Return the term object matching a term ID

View
file_directory_temp()

Returns the temporary directory path. This will be either the drupal path or the system path.
Ex. /tmp

View