Adam 2009-02-24
Documentation » Printp_path
Prints current node path (URL) including action
void p_path( [bool|string $action = true, array $components = false, bool $full = false, bool $add_slash = false, bool $escape = true] )
Parameters
- bool|string $action Put the specified action into the URL, TRUE to include current action, FALSE for no action (view)
- array $components Custom path components (FALSE for current path as it is)
- bool $full Generate full URL including hostname, protocol and port (if necessary)
- bool $add_slash Add slash at the end of the path (URL)
- bool $escape Whether to escape HTML entries in the path before printing
