FileExistenceResource::unserialize()

unserialize($serialized) {@inheritdoc} Parameters $serialized

FileFormField

class FileFormField extends FormField FileFormField represents a file form field (an HTML file input tag). Methods __construct(DOMElement $node) Constructor. from FormField string getName() Returns the name of the field. from FormField string|array getValue() Gets the value of the field. from FormField setValue(string $value) Sets the value of the field. bool hasValue() Returns true if the field should be included in the submitted values. from FormField bool isDisabl

FileFormField::setErrorCode()

setErrorCode(int $error) Sets the PHP error code associated with the field. Parameters int $error The error code (one of UPLOADERRINISIZE, UPLOADERRFORMSIZE, UPLOADERRPARTIAL, UPLOADERRNOFILE, UPLOADERRNOTMPDIR, UPLOADERRCANTWRITE, or UPLOADERREXTENSION) Exceptions InvalidArgumentException When error code doesn't exist

FileExistenceResource::isFresh()

bool isFresh(int $timestamp) Returns true if the resource has not been updated since the given timestamp. Parameters int $timestamp The last time the resource was loaded Return Value bool True if the resource has not been updated, false otherwise

FileExistenceResource::serialize()

serialize() {@inheritdoc}

FileExistenceResource::getResource()

string getResource() Return Value string The file path to the resource

FileExistenceResource

class FileExistenceResource implements SelfCheckingResourceInterface, Serializable FileExistenceResource represents a resource stored on the filesystem. Freshness is only evaluated against resource creation or deletion. The resource can be a file or a directory. Methods __construct(string $resource) Constructor. string __toString() Returns a string representation of the Resource. string getResource() bool isFresh(int $timestamp) Returns true if the resource has not been u

FileException

class FileException extends RuntimeException Thrown when an error occurred in the component File.

FileDumper::dump()

dump(MessageCatalogue $messages, array $options = array()) Dumps the message catalogue. Parameters MessageCatalogue $messages The message catalogue array $options Options that are used by the dumper

FileDumper::formatCatalogue()

abstract string formatCatalogue(MessageCatalogue $messages, string $domain, array $options = array()) Transforms a domain of a message catalogue to its string representation. Parameters MessageCatalogue $messages string $domain array $options Return Value string representation