src/Charcoal/Property/FileProperty.php
public function generateFilename()
    {
        $filename = $this->label().' '.date('Y-m-d H-i-s');
        $extension = $this->generateExtension();

        if ($extension) {
            return $filename.'.'.$extension;
        } else {
            return $filename;
        }
    }
public function generateFilename()
    {
        $filename = $this->label().' '.date('Y-m-d H-i-s');
        $extension = $this->generateExtension();

        if ($extension) {
            return $filename.'.'.$extension;
        } else {
            return $filename;
        }
    }
public function generateFilename ( ) { $ filename = $ this -> label ( ) . ' ' . date ( 'Y-m-d H-i-s' ) ; $ extension = $ this -> generateExtension ( ) ; if ( $ extension ) { return $ filename . '.' . $ extension ; } else { return $ filename ; } }
Generate a new filename from the property.

@return string
Generate a new filename from the property .