Media.php
- Classes
- Kwf_Media
  Constants Constants
- DONT_HASH_TYPE_PREFIX
  Methods Methods
- clearCache
- createCacheId
- getChecksum
- getDimensionsByRow
- getOutput
- getOutputWithoutCheckingIsValid
- getUrl
- getUrlByRow
Constants
 DONT_HASH_TYPE_PREFIX = 'dh-'
      
 Details
 Details
- value
- dh-
 
 
 
Methods
clearCache(
           $class,  $id,  $type
          )
        
        :
        
Arguments
- $class
- $id
- $type
 
 Details
 Details
- visibility
- public
- final
- false
- static
- true
 
 
createCacheId(
           $class,  $id,  $type
          )
        
        :
        
Arguments
- $class
- $id
- $type
 
 Details
 Details
- visibility
- public
- final
- false
- static
- true
 
 
getChecksum(
           $class,  $id,  $type,  $encodedFilename
          )
        
        :
        
Arguments
- $class
- $id
- $type
- $encodedFilename
 
 Details
 Details
- visibility
- public
- final
- false
- static
- true
 
 
getDimensionsByRow(
           $row,  $type,  $fileRow
              =
              null
          )
        
        :
        
Arguments
- $row
- $type
- $fileRow
 
 Details
 Details
- visibility
- public
- final
- false
- static
- true
 
 
getOutput(
           $class,  $id,  $type
          )
        
        :
        
Arguments
- $class
- $id
- $type
 
 Details
 Details
- visibility
- public
- final
- false
- static
- true
 
 
getOutputWithoutCheckingIsValid
getOutputWithoutCheckingIsValid(
           $class,  $id,  $type
          )
        
        :
        
Arguments
- $class
- $id
- $type
 
 Details
 Details
- visibility
- public
- final
- false
- static
- true
 
 
getUrl(
           $class,  $id,  $type,  $filename, int $time
              =
              null
          )
        
        :
        
Arguments
- $class
- string
- $id
- string
- $type
- string
- $filename
- string
- $time
- int
 Kann gesetzt werden wenn wir in diesem web auf das bild nicht direkten zugriff haben sondern nur für ein anderes web die url generieren
 
 Details
 Details
- visibility
- public
- final
- false
- static
- true
 
 
getUrlByRow(
          \Kwf_Model_Row_Interface $row, string $type, \string/Kwf_Uploads_Row $filename
              =
              null
          )
        
        :
        
Arguments
- $row
- \Kwf_Model_Row_Interface
 Row zu der ein Bild existiert
- $type
- string
 Type
- $filename
- \string/Kwf_Uploads_Row
 Wenn string wird der Dateiname verwendet wenn Kwf_Uploads_Row wird der Original-Dateiname verwendet wenn nicht gesetzt wird die uploads row mittels $type ermittelt und dieser Dateiname verwendet
 
 Details
 Details
- visibility
- public
- final
- false
- static
- true