CC-2240:Fix up recorded show function

- fixed
- added getName() function agagin to StoredFile
This commit is contained in:
james 2011-06-27 11:23:48 -04:00
parent 396bfd5f8d
commit 629c3fb1d9
2 changed files with 12 additions and 6 deletions

View file

@ -534,6 +534,11 @@ class StoredFile {
return null;
}
}
public function getName(){
$info = pathinfo($this->getFilePath());
return $info['filename'];
}
/**
* Create instance of StoreFile object and recall existing file