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

Class: Core

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

Class Overview


Core


Methods



Class Details

[line 27]
Core

This is really just a namespace class, it's full of static functions would be replaced by a namespace library once that exists in php




[ Top ]


Class Methods


static method form_register [line 44]

static void form_register( $name)

form_register

This registers a form with a SID, inserts it into the session variables and then returns a string for use in the HTML form




Tags:

access:  public


Parameters:

   $name  

[ Top ]

static method form_verify [line 63]

static void form_verify( $name, [ $method = 'post'])

form_verify

This takes a form name and then compares it with the posted sid, if they don't match then it returns false and doesn't let the person continue




Tags:

access:  public


Parameters:

   $name  
   $method  

[ Top ]

static method image_dimensions [line 96]

static void image_dimensions( $image_data)

image_dimensions

This returns the dimensions of the passed song of the passed type returns an empty array if PHP-GD is not currently installed, returns false on error




Tags:

access:  public


Parameters:

   $image_data  

[ Top ]


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