Ampache
[ class tree: Ampache ] [ index: Ampache ] [ all elements ]

Class: Radio

Source Location: /lib/class/radio.class.php

Class Overview

database_object
   |
   --Radio

Radio Class


Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 28]
Radio Class

This handles the internet radio stuff, that is inserted into live_stream this can include podcasts or what-have-you




[ Top ]


Class Variables

$call_sign =

[line 36]



Tags:

access:  public

Type:   mixed


[ Top ]

$catalog =

[line 37]



Tags:

access:  public

Type:   mixed


[ Top ]

$frequency =

[line 35]



Tags:

access:  public

Type:   mixed


[ Top ]

$id =

[line 31]



Tags:

access:  public

Type:   mixed


[ Top ]

$name =

[line 32]



Tags:

access:  public

Type:   mixed


[ Top ]

$site_url =

[line 33]



Tags:

access:  public

Type:   mixed


[ Top ]

$url =

[line 34]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


static method create [line 128]

static void create( $data)

create This is a static function that takes a key'd array for input and if everything is good creates the object.



Tags:

access:  public


Parameters:

   $data  

[ Top ]

static method update [line 88]

static void update( $data)

update

This is a static function that takes a key'd array for input it depends on a ID element to determine which radio element it should be updating




Tags:

access:  public


Parameters:

   $data  

[ Top ]

constructor __construct [line 43]

Radio __construct( $id)

Constructor

This takes a flagged.id and then pulls in the information for said flag entry




Tags:

access:  public


Parameters:

   $id  

[ Top ]

method delete [line 168]

void delete( )

delete

This deletes the current object from the database




Tags:

access:  public


[ Top ]

method format [line 59]

void format( )

format

This takes the normal data from the database and makes it pretty for the users, the new variables are put in f_??? and f_???_link




Tags:

access:  public


[ Top ]

method get_url [line 76]

void get_url( )

get_url

This returns the URL for this live stream




Tags:

access:  public


[ Top ]


Documentation generated on Thu, 12 Feb 2009 08:00:05 +0900 by phpDocumentor 1.4.2