'sorter ASC'); protected function _bindListColumns($list) { $list->addColumn('no', 'no', array('orderBy' => 'sorter')) ->addColumn( 'date', 'added', array( 'title' => 'Added', 'orderBy' => 'added', 'format' => '%m/%d/%Y %I:%M %p', 'attribs' => array('width' => 155) ) ) ->addColumn('text', 'title', array('orderBy' => 'title', 'truncateLength' => 150)) ->addColumn('options', 'options', array('attribs' => array('width' => 100))); } protected function _bindFormFields($form) { $form->addElement('text', 'title', array('label' => 'Title', 'required' => true, 'maxLength' => 150)); $form->title->addValidator('StringLength', false, array('max' => 150)); return $this; } }