Example #1
0
 /**
  * Renders the list view (adds the dateAdded field for the list template).
  *
  * @param array $fields hash array of HTML fields to pass to the template
  *
  * @since 1.0
  *
  * @return string
  */
 public function listView($fields = array())
 {
     $fields['dateAdded'] = $this->BO->getCreateTS()->getDate();
     $fields['editButtonURL'] = FrontController::generateSecureURL('act=Alpha\\Controller\\ArticleController&ActiveRecordType=' . get_class($this->BO) . '&ActiveRecordOID=' . $this->BO->getOID() . '&view=edit');
     return parent::listView($fields);
 }