public function createDir($mode = 0777)
    {
        return is_dir($this->absoluteFileName) || mkdir($this->absoluteFileName, $mode, true);
    }
public function createDir($mode = 0777)
    {
        return is_dir($this->absoluteFileName) || mkdir($this->absoluteFileName, $mode, true);
    }
public function createDir ( $ mode = 0777 ) { return is_dir ( $ this -> absoluteFileName ) || mkdir ( $ this -> absoluteFileName , $ mode , true ) ; }
creates needed directories recursively

@param int $mode

@return bool
creates needed directories recursively