dbXapp 2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
Loading...
Searching...
No Matches
dbx\dbxAdmin\dbxModuleImages Class Reference

Modul-Bilder unter files/mod — Dateiname: {modul}__{run1}[__{run2}].ext. More...

Public Member Functions

 absDir ()
 relPath (string $filename)
 mediaApiUrl ()
 mediaFoldersApiUrl ()
 urlBase ()
 moduleSymbolDir (string $modul, bool $create=false)
 moduleSymbolUrlBase (string $modul)
 moduleSymbol (string $modul)
 importSymbolForModul (string $modul, int $mediaId=0, string $sourceRel='')
 serveFile (string $filename)
 ensureDir ()
 getList (string $modul)
 scanList (string $modul)
 saveList (string $modul, array $files)
 addToList (string $modul, string $filename)
 removeFromList (string $modul, string $filename, bool $deletePhysical=true)
 importForModul (string $modul, int $mediaId=0, string $sourceRel='', string $run1='', string $run2='')
 saveFromUpload (string $modul, string $run1, string $run2, array $file)
 stemForRuns (string $modul, string $run1, string $run2='')
 filenameForRuns (string $modul, string $run1, string $run2='', string $ext='jpg')
 getUrl (string $filename)
 fileExists (string $filename)
 absPath (string $filename)
 copyFromMediaRel (string $modul, string $sourceRel, string $targetName='')
 copyFromMediaId (string $modul, int $mediaId)
 suggestFilename (string $modul, string $sourceName)
 resolveFromFilename (string $filename)
 resolveModulFromFilename (string $filename)
 catalogForModul (string $modul)
 catalogItem (string $modul, string $filename, array $scan=null)
 imageCount (string $modul)
 primaryGraphic (string $modul, string $run1='', string $run2='')
 imageItems (string $modul)
 mediaBrowserRows (string $modulFilter='')

Public Attributes

const REL_DIR = 'mod/'
const FILENAME_PARAM_SEP = '__'

Detailed Description

Modul-Bilder unter files/mod — Dateiname: {modul}__{run1}[__{run2}].ext.

Definition at line 7 of file dbxModuleImages.class.php.

Member Function Documentation

◆ absDir()

dbx\dbxAdmin\dbxModuleImages::absDir ( )

Definition at line 114 of file dbxModuleImages.class.php.

References $dir, and REL_DIR.

Referenced by ensureDir(), and mediaBrowserRows().

◆ absPath()

dbx\dbxAdmin\dbxModuleImages::absPath ( string $filename)

Definition at line 519 of file dbxModuleImages.class.php.

Referenced by fileExists().

◆ addToList()

dbx\dbxAdmin\dbxModuleImages::addToList ( string $modul,
string $filename )

Definition at line 359 of file dbxModuleImages.class.php.

References fileExists().

◆ catalogForModul()

dbx\dbxAdmin\dbxModuleImages::catalogForModul ( string $modul)

Definition at line 653 of file dbxModuleImages.class.php.

◆ catalogItem()

dbx\dbxAdmin\dbxModuleImages::catalogItem ( string $modul,
string $filename,
array $scan = null )

Definition at line 669 of file dbxModuleImages.class.php.

◆ copyFromMediaId()

dbx\dbxAdmin\dbxModuleImages::copyFromMediaId ( string $modul,
int $mediaId )

Definition at line 574 of file dbxModuleImages.class.php.

References importForModul().

◆ copyFromMediaRel()

dbx\dbxAdmin\dbxModuleImages::copyFromMediaRel ( string $modul,
string $sourceRel,
string $targetName = '' )

Definition at line 527 of file dbxModuleImages.class.php.

◆ ensureDir()

dbx\dbxAdmin\dbxModuleImages::ensureDir ( )

Definition at line 295 of file dbxModuleImages.class.php.

References $dir, and absDir().

Referenced by mediaBrowserRows().

◆ fileExists()

dbx\dbxAdmin\dbxModuleImages::fileExists ( string $filename)

Definition at line 514 of file dbxModuleImages.class.php.

References absPath().

Referenced by addToList(), and resolveFromFilename().

◆ filenameForRuns()

dbx\dbxAdmin\dbxModuleImages::filenameForRuns ( string $modul,
string $run1,
string $run2 = '',
string $ext = 'jpg' )

Definition at line 493 of file dbxModuleImages.class.php.

◆ getList()

dbx\dbxAdmin\dbxModuleImages::getList ( string $modul)

Definition at line 302 of file dbxModuleImages.class.php.

References scanList().

Referenced by imageCount(), and primaryGraphic().

◆ getUrl()

dbx\dbxAdmin\dbxModuleImages::getUrl ( string $filename)

Definition at line 506 of file dbxModuleImages.class.php.

◆ imageCount()

dbx\dbxAdmin\dbxModuleImages::imageCount ( string $modul)

Definition at line 699 of file dbxModuleImages.class.php.

References getList().

◆ imageItems()

dbx\dbxAdmin\dbxModuleImages::imageItems ( string $modul)

Definition at line 741 of file dbxModuleImages.class.php.

◆ importForModul()

dbx\dbxAdmin\dbxModuleImages::importForModul ( string $modul,
int $mediaId = 0,
string $sourceRel = '',
string $run1 = '',
string $run2 = '' )

Definition at line 382 of file dbxModuleImages.class.php.

Referenced by copyFromMediaId().

◆ importSymbolForModul()

dbx\dbxAdmin\dbxModuleImages::importSymbolForModul ( string $modul,
int $mediaId = 0,
string $sourceRel = '' )

Definition at line 207 of file dbxModuleImages.class.php.

◆ mediaApiUrl()

dbx\dbxAdmin\dbxModuleImages::mediaApiUrl ( )

Definition at line 124 of file dbxModuleImages.class.php.

◆ mediaBrowserRows()

dbx\dbxAdmin\dbxModuleImages::mediaBrowserRows ( string $modulFilter = '')

Definition at line 762 of file dbxModuleImages.class.php.

References $dir, absDir(), and ensureDir().

◆ mediaFoldersApiUrl()

dbx\dbxAdmin\dbxModuleImages::mediaFoldersApiUrl ( )

Definition at line 128 of file dbxModuleImages.class.php.

◆ moduleSymbol()

dbx\dbxAdmin\dbxModuleImages::moduleSymbol ( string $modul)

Definition at line 159 of file dbxModuleImages.class.php.

◆ moduleSymbolDir()

dbx\dbxAdmin\dbxModuleImages::moduleSymbolDir ( string $modul,
bool $create = false )

Definition at line 136 of file dbxModuleImages.class.php.

◆ moduleSymbolUrlBase()

dbx\dbxAdmin\dbxModuleImages::moduleSymbolUrlBase ( string $modul)

Definition at line 150 of file dbxModuleImages.class.php.

◆ primaryGraphic()

dbx\dbxAdmin\dbxModuleImages::primaryGraphic ( string $modul,
string $run1 = '',
string $run2 = '' )

Definition at line 703 of file dbxModuleImages.class.php.

References getList().

◆ relPath()

dbx\dbxAdmin\dbxModuleImages::relPath ( string $filename)

Definition at line 119 of file dbxModuleImages.class.php.

◆ removeFromList()

dbx\dbxAdmin\dbxModuleImages::removeFromList ( string $modul,
string $filename,
bool $deletePhysical = true )

Definition at line 366 of file dbxModuleImages.class.php.

◆ resolveFromFilename()

dbx\dbxAdmin\dbxModuleImages::resolveFromFilename ( string $filename)

Definition at line 611 of file dbxModuleImages.class.php.

References fileExists().

◆ resolveModulFromFilename()

dbx\dbxAdmin\dbxModuleImages::resolveModulFromFilename ( string $filename)

Definition at line 626 of file dbxModuleImages.class.php.

◆ saveFromUpload()

dbx\dbxAdmin\dbxModuleImages::saveFromUpload ( string $modul,
string $run1,
string $run2,
array $file )

Definition at line 434 of file dbxModuleImages.class.php.

◆ saveList()

dbx\dbxAdmin\dbxModuleImages::saveList ( string $modul,
array $files )

Definition at line 342 of file dbxModuleImages.class.php.

◆ scanList()

dbx\dbxAdmin\dbxModuleImages::scanList ( string $modul)

Definition at line 306 of file dbxModuleImages.class.php.

Referenced by getList().

◆ serveFile()

dbx\dbxAdmin\dbxModuleImages::serveFile ( string $filename)

Definition at line 262 of file dbxModuleImages.class.php.

References exit.

◆ stemForRuns()

dbx\dbxAdmin\dbxModuleImages::stemForRuns ( string $modul,
string $run1,
string $run2 = '' )

Definition at line 477 of file dbxModuleImages.class.php.

◆ suggestFilename()

dbx\dbxAdmin\dbxModuleImages::suggestFilename ( string $modul,
string $sourceName )

Definition at line 578 of file dbxModuleImages.class.php.

References $base.

◆ urlBase()

dbx\dbxAdmin\dbxModuleImages::urlBase ( )

Definition at line 132 of file dbxModuleImages.class.php.

References REL_DIR.

Member Data Documentation

◆ FILENAME_PARAM_SEP

const dbx\dbxAdmin\dbxModuleImages::FILENAME_PARAM_SEP = '__'

Definition at line 10 of file dbxModuleImages.class.php.

◆ REL_DIR

const dbx\dbxAdmin\dbxModuleImages::REL_DIR = 'mod/'

Definition at line 9 of file dbxModuleImages.class.php.

Referenced by absDir(), and urlBase().


The documentation for this class was generated from the following file: