Jump to content

FieldtypeTable update row via api.


fliwire
 Share

Recommended Posts

module bug or wrong usage ?
ptable has 3 row data

// this work
$page->of(false);

foreach ($page->ptable() as $key => $item) {
	$item->test = "test444";
}

$page->save("ptable");


// this not works
// any selector cause not save
$page->of(false);

foreach ($page->ptable("start=0, limit=10") as $key => $item) {
	$item->test = "test444";
}

$page->save("ptable");
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...