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

Class: Music_Browser

Source Location: /Testing_FIT-0.2.2/example/fixture/Music/Browser.php

Class Overview

Testing_FIT_Fixture
   |
   --Music_Browser

FIT Fixture


Author(s):

Version:

  • 0.1.0

Variables

Methods


Inherited Variables

Inherited Methods

Class: Testing_FIT_Fixture

Testing_FIT_Fixture::__construct()
constructor
Testing_FIT_Fixture::camel()
CamelCaseString auxiliary function
Testing_FIT_Fixture::doCell()
process a single cell
Testing_FIT_Fixture::doCells()
process cells
Testing_FIT_Fixture::doRow()
iterate through cells
Testing_FIT_Fixture::doRows()
iterate through rows
Testing_FIT_Fixture::doTable()
iterate through table
Testing_FIT_Fixture::getType()
receive member variable's type specification
Testing_FIT_Fixture::loadFixture()
load a fixture by java-stylish name (dot-separated)
Testing_FIT_Fixture::_bind()
bind columns of table header to functions and properties
Testing_FIT_Fixture::_checkCell()
check a cell's actual against expected value

Class Details

[line 27]
FIT Fixture

Music browser

  • Version: 0.1.0


[ Top ]


Class Variables

$_typeDictionary = array(
                                'totalSongs()'  => 'integer',
                                'title()'       => 'string',
                                'artist()'      => 'string',
                                'album()'       => 'string',  
                                'year()'        => 'string',   
                                'time()'        => 'float',   
                                'track()'       => 'string'
                            )

[line 34]

type dictionary
  • Access: protected

Type:   array
Overrides:   Array


[ Top ]



Method Detail

album   [line 104]

void album( string 0)

receive current song's album
  • Access: public

Parameters:

string   0   —  song's album

[ Top ]

artist   [line 94]

void artist( string 0)

receive current sont's artist
  • Access: public

Parameters:

string   0   —  song's artist

[ Top ]

genre   [line 114]

void genre( string 0)

receive current song's genre
  • Access: public

Parameters:

string   0   —  song's genre

[ Top ]

library   [line 51]

bool library( string $path)

load the library
  • Return: true on success
  • Access: public

Parameters:

string   $path   —  path

[ Top ]

select   [line 74]

void select( int $pos, bool 1)

select a song
  • Access: public

Parameters:

int   $pos   — 
bool   1   —  true on success

[ Top ]

size   [line 124]

void size( string 0)

receive current song's file size
  • Access: public

Parameters:

string   0   —  song's file size

[ Top ]

time   [line 144]

void time( float 0)

receive current song's playing time
  • Access: public

Parameters:

float   0   — 

[ Top ]

title   [line 84]

void title( string 0)

receive current title
  • Access: public

Parameters:

string   0   —  song's title

[ Top ]

totalSongs   [line 62]

int totalSongs( )

how many songs are in the library
  • Return: number of songs
  • Access: public

[ Top ]

track   [line 154]

void track( int 0)

receive current track no
  • Access: public

Parameters:

int   0   — 

[ Top ]

year   [line 134]

void year( int 0)

receive current song's release year
  • Access: public

Parameters:

int   0   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:09:48 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.