Program Class Reference

List of all members.

Detailed Description

Program class /*.

Definition at line 19 of file Program.php.

Public Member Functions

 Program ($data)
 merge ($prog)
 update_fancy_desc ()
 load_jobs ()
 Load info about any queued or recently finished jobs /*.
 backend_row ()
 Generate a mythproto-compatible row of data for this show.
 pixmap_last_mod ()
 Get the last modification date of the pixmap that corresponds to this recording.
 generate_pixmap ()
 Generate a new preview pixmap for this recording.
 thumb_url ($width=160, $height=120, $secs_in=null)
 Generate a thumbnail of the requested size, and return the URL to its cache location.
 generate_preview_pixmap ($width=160, $height=120, $secs_in=null)
 Gets a preview image of the requested show.
 details_list ()
 The "details list" for each program.
 get_credits ($role, $add_search_links=FALSE)
 rec_forget_old ()
 Forget everything about a previously recorded program.
 rec_never_record ()
 "Never" record this show, by telling mythtv that it was already recorded /*
 rec_default ()
 Revert a show to its default recording schedule settings /*.
 rec_override ($rectype)
 Add an override or dontrec record to force this show to/not record pass in rectype_dontrec or rectype_override constants /*.
 category_types ()
 Intended to be called as program::category_types().
 categories ()
 Intended to be called as program::categories().

Public Attributes

 $title
 $subtitle
 $description
 $category
 $chanid
 $channum
 $callsign
 $channame
 $filename
 $fs_high
 $fs_low
 $starttime
 $endtime
 $duplicate
 $shareable
 $findid
 $hostname
 $sourceid
 $cardid
 $inputid
 $recpriority = 0
 $recstatus
 $recordid
 $rectype
 $dupin
 $dupmethod
 $recstartts
 $recendts
 $previouslyshown
 $progflags
 $recgroup
 $commfree
 $outputfilters
 $seriesid
 $programid
 $lastmodified
 $stars
 $airdate
 $hasairdate
 $playgroup = 'Default'
 $recpriority2 = 0
 $parentid
 $storagegroup = 'Default'
 $audioproperties = 0
 $videoproperties = 0
 $subtitletype = 0
 $stereo = 0
 $mono = 0
 $surround = 0
 $dolby = 0
 $audiohardhear = 0
 $audiovisimpair = 0
 $hdtv = 0
 $widescreen = 0
 $avc = 0
 $closecaptioned = 0
 $has_subtitles = 0
 $subtitled = 0
 $deaf_signed = 0
 $auto_expire = 0
 $bookmark = 0
 $category_type
 $channel
 $conflicting = false
 $credits = array()
 $css_class
 $fancy_description
 $filesize
 $group = ''
 $has_commflag = 0
 $has_cutlist = 0
 $is_recording
 $is_playing
 $can_delete = false
 $inputname
 $is_editing = 0
 $is_movie
 $is_watched = 0
 $length
 $max_episodes = 0
 $max_newest = 0
 $profile = 0
 $rater
 $rating
 $recording = false
 $starstring
 $timestretch
 $url
 $jobs = array()
 $jobs_possible = array()


Member Function Documentation

Program::Program ( data  ) 

Definition at line 120 of file Program.php.

Program::merge ( prog  ) 

Definition at line 318 of file Program.php.

Program::update_fancy_desc (  ) 

Definition at line 331 of file Program.php.

Program::load_jobs (  ) 

Load info about any queued or recently finished jobs /*.

Definition at line 376 of file Program.php.

Program::backend_row (  ) 

Generate a mythproto-compatible row of data for this show.

/*

Definition at line 411 of file Program.php.

Program::pixmap_last_mod (  ) 

Get the last modification date of the pixmap that corresponds to this recording.

/*

Definition at line 469 of file Program.php.

Program::generate_pixmap (  ) 

Generate a new preview pixmap for this recording.

/*

Definition at line 482 of file Program.php.

Program::thumb_url ( width = 160,
height = 120,
secs_in = null 
)

Generate a thumbnail of the requested size, and return the URL to its cache location.

/*

Definition at line 498 of file Program.php.

Program::generate_preview_pixmap ( width = 160,
height = 120,
secs_in = null 
)

Gets a preview image of the requested show.

Todo:
, this should get put into a "recording" class or something like that. /*

Definition at line 524 of file Program.php.

Program::details_list (  ) 

The "details list" for each program.

/*

Definition at line 638 of file Program.php.

Program::get_credits ( role,
add_search_links = FALSE 
)

Definition at line 712 of file Program.php.

Program::rec_forget_old (  ) 

Forget everything about a previously recorded program.

Todo:
Eventually, all of this should get separated out of the Program class and into something more generic, since this backend command is called from several places depending on if a program or a non-expanded data row is being used. /*

Definition at line 755 of file Program.php.

Program::rec_never_record (  ) 

"Never" record this show, by telling mythtv that it was already recorded /*

Definition at line 777 of file Program.php.

Program::rec_default (  ) 

Revert a show to its default recording schedule settings /*.

Definition at line 803 of file Program.php.

Program::rec_override ( rectype  ) 

Add an override or dontrec record to force this show to/not record pass in rectype_dontrec or rectype_override constants /*.

Definition at line 813 of file Program.php.

Program::category_types (  ) 

Intended to be called as program::category_types().

Returns:
array sorted list of category_type fields from the program table /*

Definition at line 840 of file Program.php.

Program::categories (  ) 

Intended to be called as program::categories().

Returns:
array sorted list of category fields from the program table /*

Definition at line 856 of file Program.php.


Member Data Documentation

Program::$title

Definition at line 23 of file Program.php.

Program::$subtitle

Definition at line 24 of file Program.php.

Program::$description

Definition at line 25 of file Program.php.

Program::$category

Definition at line 26 of file Program.php.

Program::$chanid

Definition at line 27 of file Program.php.

Program::$channum

Definition at line 28 of file Program.php.

Program::$callsign

Definition at line 29 of file Program.php.

Program::$channame

Definition at line 30 of file Program.php.

Program::$filename

Definition at line 31 of file Program.php.

Program::$fs_high

Definition at line 32 of file Program.php.

Program::$fs_low

Definition at line 33 of file Program.php.

Program::$starttime

Definition at line 34 of file Program.php.

Program::$endtime

Definition at line 35 of file Program.php.

Program::$duplicate

Definition at line 36 of file Program.php.

Program::$shareable

Definition at line 37 of file Program.php.

Program::$findid

Definition at line 38 of file Program.php.

Program::$hostname

Definition at line 39 of file Program.php.

Program::$sourceid

Definition at line 40 of file Program.php.

Program::$cardid

Definition at line 41 of file Program.php.

Program::$inputid

Definition at line 42 of file Program.php.

Program::$recpriority = 0

Definition at line 43 of file Program.php.

Program::$recstatus

Definition at line 44 of file Program.php.

Program::$recordid

Definition at line 45 of file Program.php.

Program::$rectype

Definition at line 46 of file Program.php.

Program::$dupin

Definition at line 47 of file Program.php.

Program::$dupmethod

Definition at line 48 of file Program.php.

Program::$recstartts

Definition at line 49 of file Program.php.

Program::$recendts

Definition at line 50 of file Program.php.

Program::$previouslyshown

Definition at line 51 of file Program.php.

Program::$progflags

Definition at line 52 of file Program.php.

Program::$recgroup

Definition at line 53 of file Program.php.

Program::$commfree

Definition at line 54 of file Program.php.

Program::$outputfilters

Definition at line 55 of file Program.php.

Program::$seriesid

Definition at line 56 of file Program.php.

Program::$programid

Definition at line 57 of file Program.php.

Program::$lastmodified

Definition at line 58 of file Program.php.

Program::$stars

Definition at line 59 of file Program.php.

Program::$airdate

Definition at line 60 of file Program.php.

Program::$hasairdate

Definition at line 61 of file Program.php.

Program::$playgroup = 'Default'

Definition at line 62 of file Program.php.

Program::$recpriority2 = 0

Definition at line 63 of file Program.php.

Program::$parentid

Definition at line 64 of file Program.php.

Program::$storagegroup = 'Default'

Definition at line 65 of file Program.php.

Program::$audioproperties = 0

Definition at line 68 of file Program.php.

Program::$videoproperties = 0

Definition at line 69 of file Program.php.

Program::$subtitletype = 0

Definition at line 70 of file Program.php.

Program::$stereo = 0

Definition at line 71 of file Program.php.

Program::$mono = 0

Definition at line 72 of file Program.php.

Program::$surround = 0

Definition at line 73 of file Program.php.

Program::$dolby = 0

Definition at line 74 of file Program.php.

Program::$audiohardhear = 0

Definition at line 75 of file Program.php.

Program::$audiovisimpair = 0

Definition at line 76 of file Program.php.

Program::$hdtv = 0

Definition at line 77 of file Program.php.

Program::$widescreen = 0

Definition at line 78 of file Program.php.

Program::$avc = 0

Definition at line 79 of file Program.php.

Program::$closecaptioned = 0

Definition at line 80 of file Program.php.

Program::$has_subtitles = 0

Definition at line 81 of file Program.php.

Program::$subtitled = 0

Definition at line 82 of file Program.php.

Program::$deaf_signed = 0

Definition at line 83 of file Program.php.

Program::$auto_expire = 0

Definition at line 87 of file Program.php.

Program::$bookmark = 0

Definition at line 88 of file Program.php.

Program::$category_type

Definition at line 89 of file Program.php.

Program::$channel

Definition at line 90 of file Program.php.

Program::$conflicting = false

Definition at line 91 of file Program.php.

Program::$credits = array()

Definition at line 92 of file Program.php.

Program::$css_class

Definition at line 93 of file Program.php.

Program::$fancy_description

Definition at line 94 of file Program.php.

Program::$filesize

Definition at line 95 of file Program.php.

Program::$group = ''

Definition at line 96 of file Program.php.

Program::$has_commflag = 0

Definition at line 97 of file Program.php.

Program::$has_cutlist = 0

Definition at line 98 of file Program.php.

Program::$is_recording

Definition at line 99 of file Program.php.

Program::$is_playing

Definition at line 100 of file Program.php.

Program::$can_delete = false

Definition at line 101 of file Program.php.

Program::$inputname

Definition at line 102 of file Program.php.

Program::$is_editing = 0

Definition at line 103 of file Program.php.

Program::$is_movie

Definition at line 104 of file Program.php.

Program::$is_watched = 0

Definition at line 105 of file Program.php.

Program::$length

Definition at line 106 of file Program.php.

Program::$max_episodes = 0

Definition at line 107 of file Program.php.

Program::$max_newest = 0

Definition at line 108 of file Program.php.

Program::$profile = 0

Definition at line 109 of file Program.php.

Program::$rater

Definition at line 110 of file Program.php.

Program::$rating

Definition at line 111 of file Program.php.

Program::$recording = false

Definition at line 112 of file Program.php.

Program::$starstring

Definition at line 113 of file Program.php.

Program::$timestretch

Definition at line 114 of file Program.php.

Program::$url

Definition at line 115 of file Program.php.

Program::$jobs = array()

Definition at line 117 of file Program.php.

Program::$jobs_possible = array()

Definition at line 118 of file Program.php.


The documentation for this class was generated from the following file:
Generated on Wed Nov 19 06:07:05 2008 for MythTV by  doxygen 1.5.1