Special Directories
Required Namespace
  • Ness
    • IO
      • SpecialDirectories

You can include this library to your code file by typing the below code;

use Ness\IO\SpecialDirectories


About Special Directories #top

This library contains functions which provides you access to special application directories like controller folder, view folder etc..


Available Methods #top

ApplicationFolder

SpecialDirectory::ApplicationFolder()
Get where application is running from.
Return String
Parameters None



FrameworkFolder

SpecialDirectory::FrameworkFolder()
Get path for Ness Framework's system files
Return String
Parameters None



ControllerFolder

SpecialDirectory::ControllerFolder()
Get path for Controller directory
Return String
Parameters None



ConfigFolder

SpecialDirectory::ConfigFolder()
Get path for Config directory
Return String
Parameters None



LibraryFolder

SpecialDirectory::LibraryFolder()
Get path for Library directory
Return String
Parameters None



LanguageFolder

SpecialDirectory::LanguageFolder()
Get path for Language directory
Return String
Parameters None



ModelFolder

SpecialDirectory::ModelFolder()
Get path for Model directory
Return String
Parameters None



OutputFolder

SpecialDirectory::OutputFolder()
Get path for Output directory
Return String
Parameters None



TemplateFolder

SpecialDirectory::TemplateFolder()
Get path for Template directory
Return String
Parameters None



ViewFolder

SpecialDirectory::ViewFolder()
Get path for View directory
Return String
Parameters None



ContentFolder

SpecialDirectory::ContentFolder()
Get path for Content directory
Return String
Parameters None