Back to ImageDocument class

Method __construct

public
__construct
(mixed $options = array())
Class constructor
Parameters
  • array $options Associative array of options
Since
  • 3.0.0
Class: ImageDocument
Project: Joomla

Method __construct - Source code

/**
 * Class constructor
 *
 * @param   array  $options  Associative array of options
 *
 * @since   3.0.0
 */
public function __construct($options = array())
{
    parent::__construct($options);
    // Set mime type
    $this->_mime = 'image/png';
    // Set document type
    $this->_type = 'image';
}