Skip to content

Instantly share code, notes, and snippets.

@marchampson
Created May 2, 2013 11:41
Show Gist options
  • Save marchampson/5501671 to your computer and use it in GitHub Desktop.
Save marchampson/5501671 to your computer and use it in GitHub Desktop.
Add status column
$pages = $this->getPagesTable()->fetch(array('namespace'=>'webpage');
foreach($pages as $page) {
$this->getContentNodesTable()->saveContentNode($page->id, 'status', 'Live', $language = 'en');
}
die('fin');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment