Package sabx10 :: Package oxm :: Module parse :: Class PhotoSet
[hide private]
[frames] | no frames]

Class PhotoSet

source code

object --+
         |
        PhotoSet

A PhotoSet object holds information about a cover photo for the rideset and links to additional photos of the ride.

Instance Methods [hide private]
 
__init__(self, title, src, photo_list)
Save the passed-in data.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]
list of Photo photo_list
list of Photo objects
string src
URL of cover photo
string title
title (hover) text for cover photo
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, title, src, photo_list)
(Constructor)

source code 

Save the passed-in data.

Parameters:
  • title (string) - title (hover) text for cover photo
  • src (string) - URL of cover photo
  • photo_list (list of Photo) - list of Photo objects
Overrides: object.__init__