public/lib/library.php
/**
     * @abstract Library codes are prepended to a barcode and used
     * for indexing and management within a physical library.
     * @todo store in DB
     * @return array
     * @version 1.0
     */
@abstract Library codes are prepended to a barcode and used
for indexing and management within a physical library.
@todo store in DB
@return array
@version 1.0
@abstract Library codes are prepended to a barcode and used for indexing and management within a physical library . @todo store in DB @return array @version 1 . 0
public function listLibraryCodes(){
        $codes = array(
            "0" => array(
                "Title"=>"Rock/Pop",
                "Genre"=>"RP",
                "PlaylistDuration"=>array(
                    "unit"=>"month",
                    "value"=>6,
                ),
                "SubGenres" => array(
                    "21"=>"Rock",
                    "21"=>"Pop",
                    "21"=>"Alternative",
                    "21"=>"Electronic Pop",
                    "21"=>"Funk",
                    "23"=>"Acoustic Versions",
                    "24"=>"Easy Listening",
                    )
                ),
            "1" => array(
                "Title"=>"Folk/Roots",
                "Genre"=>"FR",
                "PlaylistDuration"=>array(
                    "unit"=>"month",
                    "value"=>6,
                ),
                "SubGenres" => array(
                    "21"=>"Folk Rock",
                    "21"=>"Singer-Songwriter",
                    "21"=>"Blues Rock",
                    "22"=>"Country",
                    "32"=>"Traditional Folk",
                    "34"=>"Traditional Blues",
                    )
                ),
            "2" => array(
                "Title"=>"Heavy",
                "Genre"=>"HM",
                "PlaylistDuration"=>array(
                    "unit"=>"month",
                    "value"=>6,
                ),
                "SubGenres" => array(
                    "21"=>"Metal",
                    "21"=>"Punk",
                    "21"=>"Hardcore",
                    "21"=>"Hard Rock",
                    )
                ),
            "3" => array(
                "Title"=>"Electronic",
                "Genre"=>"EL",
                "PlaylistDuration"=>array(
                    "unit"=>"month",
                    "value"=>6,
                ),
                "SubGenres" => array()
                ),
            "4" => array(
                "Title"=>"Hip-hop/Rap",
                "Genre"=>"HH",
                "PlaylistDuration"=>array(
                    "unit"=>"month",
                    "value"=>6,
                ),
                "SubGenres" => array(
                    "21"=>"Hip-hop/Rap",
                    )
                ),
            "5" => array(
                "Title"=>"World",
                "Genre"=>"WD",
                "PlaylistDuration"=>array(
                    "unit"=>"month",
                    "value"=>6,
                ),
                "SubGenres" => array(
                    "35"=>"World Pop",
                    "35"=>"Traditional World",
                    "35"=>"3rd Language",
                    )
                ),
            "6" => array(
                "Title"=>"Jazz/Classical",
                "Genre"=>"JC",
                "PlaylistDuration"=>array(
                    "unit"=>"month",
                    "value"=>6,
                ),
                "SubGenres" => array(
                    "31"=>"Classical",
                    "34"=>"Jazz",
                    )
                ),
            "7" => array(
                "Title"=>"Experimental",
                "Genre"=>"EX",
                "PlaylistDuration"=>array(
                    "unit"=>"month",
                    "value"=>9,
                ),
                "SubGenres" => array(
                    "36"=>"Avant composition",
                    "36"=>"Noise",
                    "36"=>"Field Recordings",
                    "36"=>"Acousmatic",
                    )
                ),
            "8" => array(
                "Title"=>"Other",
                "Genre"=>"OT",
                "PlaylistDuration"=>array(
                    "unit"=>"month",
                    "value"=>9,
                ),
                "SubGenres" => array(
                    "12"=>"Spoken Word",
                    "12"=>"Comedy",
                    "12"=>"Radio Drama",
                    "11"=>"News",
                    "35"=>"Religious",
                    )
                ),
            "9" => array(
                "Title"=>"System",
                "Genre"=>null,
                "PlaylistDuration"=>array(
                    "unit"=>"month",
                    "value"=>3,
                ),
                "SubGenres" => array(
                    "45"=>"Tech Test"
                )
            )
        );
        return $codes;
    }
public function listLibraryCodes ( ) { $ codes = array ( " 0 " => array ( " Title " => " Rock/Pop " , " Genre " => " RP " , " PlaylistDuration " => array ( " unit " => " month " , " value " => 6 , ) , " SubGenres " => array ( " 21 " => " Rock " , " 21 " => " Pop " , " 21 " => " Alternative " , " 21 " => " Electronic Pop " , " 21 " => " Funk " , " 23 " => " Acoustic Versions " , " 24 " => " Easy Listening " , ) ) , " 1 " => array ( " Title " => " Folk/Roots " , " Genre " => " FR " , " PlaylistDuration " => array ( " unit " => " month " , " value " => 6 , ) , " SubGenres " => array ( " 21 " => " Folk Rock " , " 21 " => " Singer-Songwriter " , " 21 " => " Blues Rock " , " 22 " => " Country " , " 32 " => " Traditional Folk " , " 34 " => " Traditional Blues " , ) ) , " 2 " => array ( " Title " => " Heavy " , " Genre " => " HM " , " PlaylistDuration " => array ( " unit " => " month " , " value " => 6 , ) , " SubGenres " => array ( " 21 " => " Metal " , " 21 " => " Punk " , " 21 " => " Hardcore " , " 21 " => " Hard Rock " , ) ) , " 3 " => array ( " Title " => " Electronic " , " Genre " => " EL " , " PlaylistDuration " => array ( " unit " => " month " , " value " => 6 , ) , " SubGenres " => array ( ) ) , " 4 " => array ( " Title " => " Hip-hop/Rap " , " Genre " => " HH " , " PlaylistDuration " => array ( " unit " => " month " , " value " => 6 , ) , " SubGenres " => array ( " 21 " => " Hip-hop/Rap " , ) ) , " 5 " => array ( " Title " => " World " , " Genre " => " WD " , " PlaylistDuration " => array ( " unit " => " month " , " value " => 6 , ) , " SubGenres " => array ( " 35 " => " World Pop " , " 35 " => " Traditional World " , " 35 " => " 3rd Language " , ) ) , " 6 " => array ( " Title " => " Jazz/Classical " , " Genre " => " JC " , " PlaylistDuration " => array ( " unit " => " month " , " value " => 6 , ) , " SubGenres " => array ( " 31 " => " Classical " , " 34 " => " Jazz " , ) ) , " 7 " => array ( " Title " => " Experimental " , " Genre " => " EX " , " PlaylistDuration " => array ( " unit " => " month " , " value " => 9 , ) , " SubGenres " => array ( " 36 " => " Avant composition " , " 36 " => " Noise " , " 36 " => " Field Recordings " , " 36 " => " Acousmatic " , ) ) , " 8 " => array ( " Title " => " Other " , " Genre " => " OT " , " PlaylistDuration " => array ( " unit " => " month " , " value " => 9 , ) , " SubGenres " => array ( " 12 " => " Spoken Word " , " 12 " => " Comedy " , " 12 " => " Radio Drama " , " 11 " => " News " , " 35 " => " Religious " , ) ) , " 9 " => array ( " Title " => " System " , " Genre " => null , " PlaylistDuration " => array ( " unit " => " month " , " value " => 3 , ) , " SubGenres " => array ( " 45 " => " Tech Test " ) ) ) ; return $ codes ; }
@abstract Library codes are prepended to a barcode and used
 for indexing and management within a physical library.
@abstract Library codes are prepended to a barcode and used for indexing and management within a physical library .