getPrimaryWhereColumn() public method

public getPrimaryWhereColumn ( ) : string
return string
示例#1
0
 /**
  * @param  mixed $id
  * @return void
  */
 public function handleInlineEdit($id)
 {
     if ($this->inlineEdit) {
         $this->inlineEdit->setItemId($id);
         $primary_where_column = $this->inlineEdit->getPrimaryWhereColumn();
         $this['filter']['inline_edit']->addHidden('_id', $id);
         $this['filter']['inline_edit']->addHidden('_primary_where_column', $primary_where_column);
         $this->redrawItem($id, $primary_where_column);
     }
 }
示例#2
0
 /**
  * @param  mixed $id
  * @return void
  */
 public function handleInlineEdit($id)
 {
     if ($this->inlineEdit) {
         $this->inlineEdit->setItemId($id);
         $primary_where_column = $this->inlineEdit->getPrimaryWhereColumn();
         $this['filter']['inline_edit']->addHidden('_id', $id);
         $this['filter']['inline_edit']->addHidden('_primary_where_column', $primary_where_column);
         if ($this->getPresenter()->isAjax()) {
             $this->getPresenter()->payload->_datagrid_inline_editing = TRUE;
         }
         $this->redrawItem($id, $primary_where_column);
     }
 }