Library directories class

access public
package kocuj_internal_lib

 Methods

Get Kocuj Internal Lib directory with the selected type

get(string $type) : string
access public

Parameters

$type

string

Type

Returns

stringKocuj Internal Lib directory with the selected type

Get singleton instance

getInstance() : object
Static
access public

Returns

objectSingleton instance

Get Kocuj Internal Lib main directory

getMain() : string
access public

Returns

stringKocuj Internal Lib main directory

Constructor

__construct() : void
access protected

Disable cloning of object

__clone() : void
access private

 Properties

 

Kocuj Internal Lib main directory

$mainDir : string

Default

''
access protected
 

Kocuj Internal Lib directories

$dirs : array

Default

array()
access private
 

Singleton instance

$instance : object

Default

NULL
Static
access private