You are here

public function SmileyStreamWrapper::getDirectoryPath in Smiley 7

Implements abstract public function getDirectoryPath()

Overrides DrupalLocalStreamWrapper::getDirectoryPath

1 call to SmileyStreamWrapper::getDirectoryPath()
SmileyStreamWrapper::getExternalUrl in includes/SmileyStreamWrapper.inc
Overrides getExternalUrl().

File

includes/SmileyStreamWrapper.inc, line 16
smiley/includes/SmileyStreamWrapper.inc

Class

SmileyStreamWrapper
Create an instance like this: $smiley = new SmileyStreamWrapper('smiley://my-pack-pack/lol.gif');

Code

public function getDirectoryPath() {
  return variable_get('smiley_path', drupal_get_path('module', 'smiley') . '/packs');
}