Moodle  2.2.1
http://www.collinsharper.com
block_tag_flickr Class Reference
Inheritance diagram for block_tag_flickr:
Collaboration diagram for block_tag_flickr:

Public Member Functions

 init ()
 applicable_formats ()
 specialization ()
 instance_allow_multiple ()
 preferred_width ()
 get_content ()
 fetch_request ($request)
 build_photo_url ($photo, $size='medium')

Detailed Description

Definition at line 6 of file block_tag_flickr.php.


Member Function Documentation

Which page types this block may appear on.

The information returned here is processed by the blocks_name_allowed_in_format() function. Look there if you need to know exactly how this works.

Default case: everything except mod and tag.

Returns:
array page-type prefix => true/false.

Reimplemented from block_base.

Definition at line 12 of file block_tag_flickr.php.

build_photo_url ( photo,
size = 'medium' 
)

Definition at line 136 of file block_tag_flickr.php.

Here is the caller graph for this function:

fetch_request ( request)

Definition at line 128 of file block_tag_flickr.php.

Here is the caller graph for this function:

Parent class version of this function simply returns NULL This should be implemented by the derived class to return the content object.

Returns:
stdObject

Reimplemented from block_base.

Definition at line 28 of file block_tag_flickr.php.

Here is the call graph for this function:

init ( )

Definition at line 8 of file block_tag_flickr.php.

Are you going to allow multiple instances of each block? If yes, then it is assumed that the block WILL USE per-instance configuration

Returns:
boolean

Reimplemented from block_base.

Definition at line 20 of file block_tag_flickr.php.

Default case: the block wants to be 180 pixels wide

Deprecated:
since Moodle 2.0.
Returns:
int

Reimplemented from block_base.

Definition at line 24 of file block_tag_flickr.php.

This function is called on your subclass right after an instance is loaded Use this function to act on instance data just after it's loaded and before anything else is done For instance: if your block will have different title's depending on location (site, course, blog, etc)

Reimplemented from block_base.

Definition at line 16 of file block_tag_flickr.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations