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

Class: Config

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

Class Overview




Methods



Class Details

[line 31]


[ Top ]


Class Methods


static method get [line 54]

static void get( $name)

get

This checks to see if this is an instance or procedure call, procedure == global, instance == local




Tags:

access:  public


Parameters:

   $name  

[ Top ]

static method get_all [line 64]

static void get_all( )

get_all

This returns all of the current config variables as an array




Tags:

access:  public


[ Top ]

static method set [line 75]

static void set( $name, $value, [ $clobber = 0])

set

This checks to see if this is an instance or procedure calls and then sets the correct variable based on that




Tags:

access:  public


Parameters:

   $name  
   $value  
   $clobber  

[ Top ]

static method set_by_array [line 91]

static void set_by_array( $array, [ $clobber = 0])

set_by_array

This is the same as the set function except it takes an array as input




Tags:

access:  public


Parameters:

   $array  
   $clobber  

[ Top ]

constructor __construct [line 43]

Config __construct( )

constructor

This is what is called when the class is loaded




Tags:

access:  public


[ Top ]


Documentation generated on Thu, 12 Feb 2009 07:59:56 +0900 by phpDocumentor 1.4.2