setItemId() public method

public setItemId ( mixed $id )
$id mixed
Beispiel #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);
     }
 }
Beispiel #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);
     }
 }