Skip to content

mod_system_Mimetype

Raimondas Rimkevičius edited this page Mar 9, 2020 · 1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!

mod_system_Mimetype

Mimetype management for file handling

  • Class name: mod_system_Mimetype
  • Namespace:
  • Parent class: icms_ipf_Object

Properties

$content

public mixed $content = \false
  • Visibility: public

mimetypeid

public int mimetypeid

Mimetype ID

  • Visibility: public

extension

public string extension

File extention

  • Visibility: public

types

public string types

Mimetypes

  • Visibility: public

name

public string name

Name

  • Visibility: public

dirname

public string[] dirname

Modules allowed to use this mimetype

  • Visibility: public

Methods

__construct

mixed mod_system_Mimetype::__construct(object handler)

Constructor

  • Visibility: public

Arguments

  • handler object

getVar

mixed mod_system_Mimetype::getVar(mixed key, mixed format)

(non-PHPdoc)

  • Visibility: public

Arguments

  • key mixed
  • format mixed

emptyString

bool mod_system_Mimetype::emptyString(string var)

Determines if a variable is a zero length string

  • Visibility: public

Arguments

  • var string

getMimetypeName

string mod_system_Mimetype::getMimetypeName()

Get the name property of the selected mimetype

  • Visibility: public

getMimetypeType

string mod_system_Mimetype::getMimetypeType()

Get the type of the selected mimetype

  • Visibility: public

getMimetypeId

int mod_system_Mimetype::getMimetypeId()

Get the ID of the selected mimetype

  • Visibility: public
Clone this wiki locally