Storage 

\nn\t3::Storage() 

Everything about Storages

Overview of Methods 

\nn\t3::Storage()->clearStorageRowCache(); 

Deletes the StorageRowCache

\nn\t3::Storage()->clearStorageRowCache();
Copied!

| @return void

| ➜ Go to source code of Storage::clearStorageRowCache()

\nn\t3::Storage()->getFolder($file, $storage = NULL); 

Returns the Folder object for a target folder (or file) within a storage. Creates a folder if it does not yet exist

Examples:

\nn\t3::Storage()->getFolder( 'fileadmin/test/example.txt' );
\nn\t3::Storage()->getFolder( 'fileadmin/test/' );
        ==> returns \Folder object for the folder 'test/'
Copied!

| @return Folder

| ➜ Go to source code of Storage::getFolder()

\nn\t3::Storage()->getPid($extName = NULL); 

In the controller: Get current StoragePid for a plug-in. Alias to \nn\t3::Settings()->getStoragePid()

\nn\t3::Storage()->getPid();
\nn\t3::Storage()->getPid('news');
Copied!

| @return string

| ➜ Go to source code of Storage::getPid()

Methods