model/modx/modcontenttype.class.php

Classes 
package
modx
Classes
modContentType

Description

modContentType

\modContentType

Extends from
\xPDOSimpleObject
package
modx
Methods
getExtension

Description

Represents content types for identifying modResource content.

This is the basis for the entire xPDO object model, and can also be used by a class generator {@link xPDOGenerator}, ultimately allowing custom classes to be user-defined in a web interface and framework-generated at runtime.

Methods

getExtension

getExtension( ) : string

Returns the first extension of this Content Type.

Output
string
Details
visibility
public
final
false
static
false
access
public
Documentation was generated by DocBlox 0.11.2.