Class Sugar_Storage_String

Description

Implements interfaces:

String-based storage driver.

Located in /Sugar/Storage/String.php (line 51)


	
			
Method Summary
Sugar_Storage_String __construct (Sugar $sugar)
string getHandle (string $name)
int getLastModified (string $handle)
string getName (string $handle, string $name)
string getSource (string $handle)
Methods
Constructor __construct (line 65)

Constructor.

  • access: public
Sugar_Storage_String __construct (Sugar $sugar)
  • Sugar $sugar: Sugar instance.
getHandle (line 77)

Returns the source code (the name) as the handle.

  • return: The value of $name.
  • access: public
string getHandle (string $name)
  • string $name: Name (source) of the template to load.

Implementation of:
Sugar_StorageDriver::getHandle()
Search for the template and return a driver-specific handle.
getLastModified (line 89)

Returns the current time.

  • return: current time.
  • access: public
int getLastModified (string $handle)
  • string $handle: Handle for the template.

Implementation of:
Sugar_StorageDriver::getLastModified()
Returns the timestamp of the handle.
getName (line 114)

Returns the text 'source template'.

  • return: 'source template'.
  • access: public
string getName (string $handle, string $name)
  • string $handle: Path to the template.
  • string $name: Name of the template.

Implementation of:
Sugar_StorageDriver::getName()
Returns a user-friendly name for the handle.
getSource (line 101)

Returns the source of the template.

  • return: Source of the template.
  • access: public
string getSource (string $handle)
  • string $handle: Template source.

Implementation of:
Sugar_StorageDriver::getSource()
Returns the source for the handle.

Documentation generated on Sat, 18 Sep 2010 05:27:02 +0000 by phpDocumentor 1.4.3