public function raw($var = null)
    {
        $file = $this->file();

        if ($var) {
            // First update file object.
            if ($file) {
                $file->raw($var);
            }

            // Reset header and content.
            $this->modified = time();
            $this->id($this->modified() . md5($this->filePath()));
            $this->header = null;
            $this->content = null;
            $this->summary = null;
        }

        return $file ? $file->raw() : '';
    }
public function raw($var = null)
    {
        $file = $this->file();

        if ($var) {
            // First update file object.
            if ($file) {
                $file->raw($var);
            }

            // Reset header and content.
            $this->modified = time();
            $this->id($this->modified() . md5($this->filePath()));
            $this->header = null;
            $this->content = null;
            $this->summary = null;
        }

        return $file ? $file->raw() : '';
    }
public function raw ( $ var = null ) { $ file = $ this -> file ( ) ; if ( $ var ) { // First update file object. if ( $ file ) { $ file -> raw ( $ var ) ; } // Reset header and content. $ this -> modified = time ( ) ; $ this -> id ( $ this -> modified ( ) . md5 ( $ this -> filePath ( ) ) ) ; $ this -> header = null ; $ this -> content = null ; $ this -> summary = null ; } return $ file ? $ file -> raw ( ) : '' ; }
Gets and Sets the raw data

@param  string $var Raw content string

@return string      Raw content string
Gets and Sets the raw data