Zenario

Login

Create account

Open search
X
  • Documentation home
  • Sysadmin
    • Directory structure
    • Running multiple sites
    • Multi-site administrator authentication
    • Upgrading Zenario (quick)
    • Upgrading Zenario (cautious)
    • Relocating a site
    • Software version numbers
  • Designer
    • Creating a layout
    • Creating a skin
    • Structuring a new page
    • CSS on pages and layouts
    • Twig for server-side code
    • Twig for smart emails
  • Developer
    • Quick-start guides
    • TUIX elements and properties
    • Methods you write
    • Core function/variable reference
    • Plugin function/variable reference
 
Home Developer Plugin function/variable reference Link, Path and URL Functions moduleDir()
 
 
 

Plugin Link/Path/URL Function moduleDir()

public final function moduleDir(
$subDir = ''
)

Summary

A shortcut to the core function with the same name, this teturns the relative path to your Module's directory. (I.e. modules/your_module_name/)

Where You Can Use It

Can be used from within any method, from Zenario 7.0.0 onwards.

 
 
  • Quick-start guides
  • TUIX elements and properties
  • Methods you write
  • Core function/variable reference
  • Plugin function/variable reference
    • Environment Variables
    • Environment Functions
    • Initialization functions
    • Framework Functions
    • Link, Path and URL Functions
    • JavaScript Functions
 
 
Home | Sitemap | Privacy | Contact us | Manage cookies
Tribal Systems logo website design
Copyright © Tribal Ltd. 1997-2026