Class WFYaml

Description

Located in /framework/util/WFYaml.php (line 3)


	
			
Method Summary
static string dump (mixed $phpData)
static void load ( $file)
static void loadFile ( $file)
static void loadString ( $string)
Methods
static method dump (line 70)

Given a php structure, returns a valid YAML string representation.

  • return: YAML equivalent.
  • access: public
static string dump (mixed $phpData)
  • mixed $phpData: PHP data
static method load (line 59)
  • deprecated: Use loadFile()
  • access: public
static void load ( $file)
  • $file
static method loadFile (line 5)
  • access: public
static void loadFile ( $file)
  • $file
static method loadString (line 40)

NOTE: libsyck extension doesn't have a 'string' loader, so we have to write a tmp file. Kinda slow... in any case though shouldn't really use YAML strings for anything but testing stuff anyway

  • throws:
  • access: public
static void loadString ( $string)
  • $string

Documentation generated on Thu, 14 May 2009 16:20:58 -0400 by phpDocumentor 1.4.2