How to get ViewValue?

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
StefanKuypers
User
Posts: 6

How to get ViewValue?

Post by StefanKuypers »

Hello,

I'm trying to setup the listOptionsRendered function to create extra URL's in my lists.
In this URL id like to use the ID of the record.

On old PHPmaker versions, I could use:

    public function listOptionsRendered()
    {
        // Example:
        $this->ListOptions["new"]->Body = "SOMEURL?ID=".$this->ID->ViewValue;
    }

In PHPmaker 2023 this isn't working any more. When I use print_var($this) i get a lot of data, looks like objectes in arrays in objects.

please help.


mobhar
User
Posts: 11660

Post by mobhar »


StefanKuypers
User
Posts: 6

Post by StefanKuypers »

great. works perfect..
Thank you for your quick answer.


Post Reply