$gridField->customise(array( 'NewLink' => Controller::join_links($gridField->Link('item'), 'new'), 'NewEnabled' => $this->getNewEnabled() ))->renderWith('GridFieldTitle') ); } function getNewEnabled() { return $this->newEnabled; } function setNewEnabled($enabled) { $this->newEnabled = $enabled; } } ?>