\FileContent
A db field that wraps a pointer to a content item. The field itself is aware of content storage processes so that form fields can saved an upload directly
- Author: marcus@symbiote.com.au
- License: BSD License http://silverstripe.org/bsd-license/
Synopsis
class FileContent
extends DBField
{
- // methods
- public void __construct()
- public void hasValue()
- public void setValue()
- public void prepValueForDB()
- public void requireField()
- public void getReader()
- public void URL()
- public void isChanged()
- public void scalarValueOnly()
Hierarchy
Extends
- DBField
Members
protected
- $changed
- $store
Methods
public
- __construct() — Construct a string type field with a set of optional parameters
- URL()
- getReader() — Gets a file reader for the content store wrapped by this FileContent field
- hasValue() — (non-PHPdoc)
- isChanged()
- prepValueForDB() — (non-PHPdoc)
- requireField()
- scalarValueOnly()
- setValue() — Set the value on the field.