Class: I2CE FormField IMAGE

From IHRIS Wiki
Revision as of 12:09, 19 October 2009 by Litlfred (talk | contribs)

This article describes the class I2CE_FormField_IMAGE.

Class for defining all the database fields used by a object.

Methods

defaultExtension()

get the default extension for this image

  • Signature: protected function defaultExtension()
  • Returns: string

defaultMimeType()

get the default extension for this image

  • Signature: protected function defaultMimeType()
  • Returns: string

getDisplayNode()

Return the display value of this form field as a DOM Node.

isValidMimeType()

Checks to see if a mime type is a valid image mime type

  • Signature: public function isValidMimeType($mime_type)
  • Parameters:
    • string $mime_type
      The mime type we are varifying is valid
  • Returns: true
    if valid. false otherwise

processDOMEditable()

  • Signature: public function processDOMEditable($node,$template,$form_node)
  • Parameters:
    • $node
    • $template
    • $form_node