| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 131 lines (4 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
image_handler_field_image_node_image:: (7 methods):
construct()
option_definition()
options_form()
query()
render()
render_html()
build_image_display_node()
Class: image_handler_field_image_node_image - X-Ref
Field handler to provide an image tag.| construct() X-Ref |
| Constructor to provide additional fields to add. Adds the fields that image_load() will need. |
| option_definition() X-Ref |
| Define default values for options. |
| options_form(&$form, &$form_state) X-Ref |
| Extend the field's basic options with more image specific options. |
| query() X-Ref |
| query() override to not query this fake field. |
| render($values) X-Ref |
| Return field html if the result is an image node. |
| render_html($values) X-Ref |
| Return image html, using image_load() and image_display(). We rely on Image module to handle getting the data because although we can use the derivative option to restrict the join, we do not have the agility to fall back to the original when the requested derivative is larger than the image and is absent from the system. |
| build_image_display_node($values) X-Ref |
| Build a pseudo node suitable for image_load() and image_display(). This is lighter than using node_load(). image_load() needs: - title (for rendering) - nid |
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |