public function getLastCategoryId()
    {
        $value = $this->getData();

        if ($this->flashed === true) {
            // Clear data
            $this->clearData();
        }

        return $value;
    }
public function getLastCategoryId()
    {
        $value = $this->getData();

        if ($this->flashed === true) {
            // Clear data
            $this->clearData();
        }

        return $value;
    }
public function getLastCategoryId ( ) { $ value = $ this -> getData ( ) ; if ( $ this -> flashed === true ) { // Clear data $ this -> clearData ( ) ; } return $ value ; }
Returns last category id

@return string
Returns last category id