public function generateFilename()
    {
        // Check if this file is nested within a folder
        $parent = $this->Parent();
        if ($parent && $parent->exists()) {
            return $this->join_paths($parent->getFilename(), $this->Name);
        }
        return $this->Name;
    }
public function generateFilename()
    {
        // Check if this file is nested within a folder
        $parent = $this->Parent();
        if ($parent && $parent->exists()) {
            return $this->join_paths($parent->getFilename(), $this->Name);
        }
        return $this->Name;
    }
public function generateFilename ( ) { // Check if this file is nested within a folder $ parent = $ this -> Parent ( ) ; if ( $ parent && $ parent -> exists ( ) ) { return $ this -> join_paths ( $ parent -> getFilename ( ) , $ this -> Name ) ; } return $ this -> Name ; }
Get expected value of Filename tuple value. Will be used to trigger
a file move on draft stage.

@return string
Get expected value of Filename tuple value . Will be used to trigger a file move on draft stage .