PHP Class Craft\Minimee_BaseAssetModel

Inheritance: extends craft\BaseModel, implements craft\Minimee_IAssetModel
Afficher le fichier Open project: johndwells/craft.minimee

Protected Properties

Свойство Type Description
$_contents Leave as 'protected' so our parent classes can access them
$_exists
$_lastTimeModified

Méthodes publiques

Méthode Description
__toString ( ) : string
defineAttributes ( ) : Array
exists ( ) : Bool
getContents ( ) : String
getLastTimeModified ( ) : craft\DateTime

Méthodes protégées

Méthode Description
removeDoubleSlashes ( $string, $url = FALSE ) : string Modified remove_double_slashes()

Method Details

__toString() public méthode

public __toString ( ) : string
Résultat string

defineAttributes() public méthode

public defineAttributes ( ) : Array
Résultat Array

exists() public méthode

public exists ( ) : Bool
Résultat Bool

getContents() public méthode

public getContents ( ) : String
Résultat String

getLastTimeModified() public méthode

public getLastTimeModified ( ) : craft\DateTime
Résultat craft\DateTime

removeDoubleSlashes() protected méthode

If the string passed is a URL, it will preserve leading double slashes
protected removeDoubleSlashes ( $string, $url = FALSE ) : string
Résultat string String without double slashes

Property Details

$_contents protected_oe property

Leave as 'protected' so our parent classes can access them
protected $_contents

$_exists protected_oe property

protected $_exists

$_lastTimeModified protected_oe property

protected $_lastTimeModified