public function save($reorder = true)
    {
        // Perform move, copy [or reordering] if needed.
        $this->doRelocation();

        $file = $this->file();
        if ($file) {
            $file->filename($this->filePath());
            $file->header((array)$this->header());
            $file->markdown($this->raw_content);
            $file->save();
        }

        // Perform reorder if required
        if ($reorder && is_array($reorder)) {
            $this->doReorder($reorder);
        }

        $this->_original = null;
    }
public function save($reorder = true)
    {
        // Perform move, copy [or reordering] if needed.
        $this->doRelocation();

        $file = $this->file();
        if ($file) {
            $file->filename($this->filePath());
            $file->header((array)$this->header());
            $file->markdown($this->raw_content);
            $file->save();
        }

        // Perform reorder if required
        if ($reorder && is_array($reorder)) {
            $this->doReorder($reorder);
        }

        $this->_original = null;
    }
public function save ( $ reorder = true ) { // Perform move, copy [or reordering] if needed. $ this -> doRelocation ( ) ; $ file = $ this -> file ( ) ; if ( $ file ) { $ file -> filename ( $ this -> filePath ( ) ) ; $ file -> header ( ( array ) $ this -> header ( ) ) ; $ file -> markdown ( $ this -> raw_content ) ; $ file -> save ( ) ; } // Perform reorder if required if ( $ reorder && is_array ( $ reorder ) ) { $ this -> doReorder ( $ reorder ) ; } $ this -> _original = null ; }
Save page if there's a file assigned to it.

@param bool|mixed $reorder Internal use.
Save page if there s a file assigned to it .