@@ 141-148 (lines=8) @@ | ||
138 | * |
|
139 | * @return Varchar Object |
|
140 | */ |
|
141 | public function getMetaDataVariable($name) |
|
142 | { |
|
143 | $this->getDataAsArray(); |
|
144 | if (!empty($this->dataAsArray[$name])) { |
|
145 | return DBField::create_field("Varchar", $this->dataAsArray[$name]); |
|
146 | } |
|
147 | return null; |
|
148 | } |
|
149 | ||
150 | /** |
|
151 | * return icon as <img tag> |
|
@@ 173-180 (lines=8) @@ | ||
170 | * returns icon as myimage.png |
|
171 | * @return String |
|
172 | */ |
|
173 | public function getIconLink() |
|
174 | { |
|
175 | $this->getDataAsArray(); |
|
176 | if (!empty($this->dataAsArray["thumbnail_url"])) { |
|
177 | return DBField::create_field("Varchar", $this->dataAsArray["thumbnail_url"]); |
|
178 | } |
|
179 | return null; |
|
180 | } |
|
181 | ||
182 | /** |
|
183 | * return icon as <img tag> |