ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilQTIMatimage Class Reference
+ Collaboration diagram for ilQTIMatimage:

Public Member Functions

 ilQTIMatimage ()
 
 setImagetype ($a_imagetype)
 
 getImagetype ()
 
 setLabel ($a_label)
 
 getLabel ()
 
 setHeight ($a_height)
 
 getHeight ()
 
 setWidth ($a_width)
 
 getWidth ()
 
 setEmbedded ($a_embedded)
 
 getEmbedded ()
 
 setUri ($a_uri)
 
 getUri ()
 
 setX0 ($a_x0)
 
 getX0 ()
 
 setY0 ($a_y0)
 
 getY0 ()
 
 setEntityref ($a_entityref)
 
 getEntityref ()
 
 setContent ($a_content)
 
 getContent ()
 
 getRawContent ()
 

Data Fields

const EMBEDDED_BASE64 = 'base64'
 
 $imagetype
 
 $label
 
 $height
 
 $width
 
 $uri
 
 $embedded
 
 $x0
 
 $y0
 
 $entityref
 
 $content
 

Detailed Description

Definition at line 32 of file class.ilQTIMatimage.php.

Member Function Documentation

◆ getContent()

ilQTIMatimage::getContent ( )

Definition at line 146 of file class.ilQTIMatimage.php.

147 {
148 return $this->content;
149 }

References $content.

Referenced by getRawContent().

+ Here is the caller graph for this function:

◆ getEmbedded()

ilQTIMatimage::getEmbedded ( )

Definition at line 96 of file class.ilQTIMatimage.php.

97 {
98 return $this->embedded;
99 }

References $embedded.

Referenced by getRawContent().

+ Here is the caller graph for this function:

◆ getEntityref()

ilQTIMatimage::getEntityref ( )

Definition at line 136 of file class.ilQTIMatimage.php.

137 {
138 return $this->entityref;
139 }

References $entityref.

◆ getHeight()

ilQTIMatimage::getHeight ( )

Definition at line 76 of file class.ilQTIMatimage.php.

77 {
78 return $this->height;
79 }

References $height.

◆ getImagetype()

ilQTIMatimage::getImagetype ( )

Definition at line 56 of file class.ilQTIMatimage.php.

57 {
58 return $this->imagetype;
59 }

References $imagetype.

◆ getLabel()

ilQTIMatimage::getLabel ( )

Definition at line 66 of file class.ilQTIMatimage.php.

67 {
68 return $this->label;
69 }

References $label.

◆ getRawContent()

ilQTIMatimage::getRawContent ( )

Definition at line 151 of file class.ilQTIMatimage.php.

152 {
153 switch( $this->getEmbedded() )
154 {
156
157 return base64_decode($this->getContent());
158 }
159
160 return $this->getContent();
161 }

References EMBEDDED_BASE64, getContent(), and getEmbedded().

+ Here is the call graph for this function:

◆ getUri()

ilQTIMatimage::getUri ( )

Definition at line 106 of file class.ilQTIMatimage.php.

107 {
108 return $this->uri;
109 }

References $uri.

◆ getWidth()

ilQTIMatimage::getWidth ( )

Definition at line 86 of file class.ilQTIMatimage.php.

87 {
88 return $this->width;
89 }

References $width.

◆ getX0()

ilQTIMatimage::getX0 ( )

Definition at line 116 of file class.ilQTIMatimage.php.

117 {
118 return $this->x0;
119 }

References $x0.

◆ getY0()

ilQTIMatimage::getY0 ( )

Definition at line 126 of file class.ilQTIMatimage.php.

127 {
128 return $this->y0;
129 }

References $y0.

◆ ilQTIMatimage()

ilQTIMatimage::ilQTIMatimage ( )

Definition at line 47 of file class.ilQTIMatimage.php.

48 {
49 }

◆ setContent()

ilQTIMatimage::setContent (   $a_content)

Definition at line 141 of file class.ilQTIMatimage.php.

142 {
143 $this->content = $a_content;
144 }

◆ setEmbedded()

ilQTIMatimage::setEmbedded (   $a_embedded)

Definition at line 91 of file class.ilQTIMatimage.php.

92 {
93 $this->embedded = $a_embedded;
94 }

◆ setEntityref()

ilQTIMatimage::setEntityref (   $a_entityref)

Definition at line 131 of file class.ilQTIMatimage.php.

132 {
133 $this->entityref = $a_entityref;
134 }

◆ setHeight()

ilQTIMatimage::setHeight (   $a_height)

Definition at line 71 of file class.ilQTIMatimage.php.

72 {
73 $this->height = $a_height;
74 }

◆ setImagetype()

ilQTIMatimage::setImagetype (   $a_imagetype)

Definition at line 51 of file class.ilQTIMatimage.php.

52 {
53 $this->imagetype = $a_imagetype;
54 }

◆ setLabel()

ilQTIMatimage::setLabel (   $a_label)

Definition at line 61 of file class.ilQTIMatimage.php.

62 {
63 $this->label = $a_label;
64 }

◆ setUri()

ilQTIMatimage::setUri (   $a_uri)

Definition at line 101 of file class.ilQTIMatimage.php.

102 {
103 $this->uri = $a_uri;
104 }

◆ setWidth()

ilQTIMatimage::setWidth (   $a_width)

Definition at line 81 of file class.ilQTIMatimage.php.

82 {
83 $this->width = $a_width;
84 }

◆ setX0()

ilQTIMatimage::setX0 (   $a_x0)

Definition at line 111 of file class.ilQTIMatimage.php.

112 {
113 $this->x0 = $a_x0;
114 }

◆ setY0()

ilQTIMatimage::setY0 (   $a_y0)

Definition at line 121 of file class.ilQTIMatimage.php.

122 {
123 $this->y0 = $a_y0;
124 }

Field Documentation

◆ $content

ilQTIMatimage::$content

Definition at line 45 of file class.ilQTIMatimage.php.

Referenced by getContent().

◆ $embedded

ilQTIMatimage::$embedded

Definition at line 41 of file class.ilQTIMatimage.php.

Referenced by getEmbedded().

◆ $entityref

ilQTIMatimage::$entityref

Definition at line 44 of file class.ilQTIMatimage.php.

Referenced by getEntityref().

◆ $height

ilQTIMatimage::$height

Definition at line 38 of file class.ilQTIMatimage.php.

Referenced by getHeight().

◆ $imagetype

ilQTIMatimage::$imagetype

Definition at line 36 of file class.ilQTIMatimage.php.

Referenced by getImagetype().

◆ $label

ilQTIMatimage::$label

Definition at line 37 of file class.ilQTIMatimage.php.

Referenced by getLabel().

◆ $uri

ilQTIMatimage::$uri

Definition at line 40 of file class.ilQTIMatimage.php.

Referenced by getUri().

◆ $width

ilQTIMatimage::$width

Definition at line 39 of file class.ilQTIMatimage.php.

Referenced by getWidth().

◆ $x0

ilQTIMatimage::$x0

Definition at line 42 of file class.ilQTIMatimage.php.

Referenced by getX0().

◆ $y0

ilQTIMatimage::$y0

Definition at line 43 of file class.ilQTIMatimage.php.

Referenced by getY0().

◆ EMBEDDED_BASE64

const ilQTIMatimage::EMBEDDED_BASE64 = 'base64'

Definition at line 34 of file class.ilQTIMatimage.php.

Referenced by getRawContent().


The documentation for this class was generated from the following file: