addColumn('no', 'no'); $this->addColumn( 'date', 'added', array('title' => 'Submitted', 'orderBy' => 'added', 'format' => '%m/%d/%Y %l:%M %p') ); if ($this->getConfig('nameType') == 'split') { $this->addColumn('text', 'firstName', array('orderBy' => 'firstName')); $this->addColumn('text', 'lastName', array('orderBy' => 'lastName')); } else { $this->addColumn('text', 'fullName', array('title' => 'Name', 'orderBy' => 'fullName')); } $this->addColumn('text', 'email', array('title' => 'Email Address', 'orderBy' => 'email')); $this->addColumn( 'link_enum', 'subscribed', array('orderBy' => 'subscribed', 'values' => $this->_yesNoArray) ); $this->addColumn( 'options', 'options', array( 'actions' => array( 'view' => array('linkTitle' => 'View this Newsletter Signup Submission'), 'delete' => array('linkTitle' => 'Delete this Newsletter Signup Submission') ) ) ); return $this; } }