[ XREF Home ] [ Index ]

PHP Cross Reference of WordPress Trunk

Provided by Yoast

title

Body

[close]

/wp-content/themes/twentyeleven/inc/ -> widgets.php (summary)

(no description)

File Size: 167 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Twenty_Eleven_Ephemera_Widget:: (5 methods):
  Twenty_Eleven_Ephemera_Widget()
  widget()
  update()
  flush_widget_cache()
  form()


Class: Twenty_Eleven_Ephemera_Widget  - X-Ref

Makes a custom Widget for displaying Aside, Link, Status, and Quote Posts available with Twenty Eleven

Learn more: http://codex.wordpress.org/Widgets_API#Developing_Widgets

Twenty_Eleven_Ephemera_Widget()   X-Ref
Constructor

return: void

widget( $args, $instance )   X-Ref
Outputs the HTML for this widget.

param: array An array of standard parameters for widgets in this theme
param: array An array of settings for this widget instance
return: void Echoes it's output

update( $new_instance, $old_instance )   X-Ref
Deals with the settings when they are saved by the admin. Here is
where any validation should be dealt with.


flush_widget_cache()   X-Ref
No description

form( $instance )   X-Ref
Displays the form for this widget on the Widgets page of the WP Admin area.




Generated: Wed Jun 1 08:30:02 2011 Cross-referenced by PHPXref 0.7
Provided by Yoast and awesome WordPress Hosting