public function eventAfterInsert()
    {
        $this->updateNavItemTimesamp();
        $this->reindex($this->nav_item_page_id, $this->placeholder_var, $this->prev_id);
        Log::add(1, ['tableName' => 'cms_nav_item_page_block_item', 'action' => 'insert', 'row' => $this->id, 'pageTitle' => $this->droppedPageTitle, 'blockName' => $this->block->getNameForLog()], 'cms_nav_item_page_block_item', $this->id);
    }
public function eventAfterInsert()
    {
        $this->updateNavItemTimesamp();
        $this->reindex($this->nav_item_page_id, $this->placeholder_var, $this->prev_id);
        Log::add(1, ['tableName' => 'cms_nav_item_page_block_item', 'action' => 'insert', 'row' => $this->id, 'pageTitle' => $this->droppedPageTitle, 'blockName' => $this->block->getNameForLog()], 'cms_nav_item_page_block_item', $this->id);
    }
public function eventAfterInsert ( ) { $ this -> updateNavItemTimesamp ( ) ; $ this -> reindex ( $ this -> nav_item_page_id , $ this -> placeholder_var , $ this -> prev_id ) ; Log :: add ( 1 , [ 'tableName' => 'cms_nav_item_page_block_item' , 'action' => 'insert' , 'row' => $ this -> id , 'pageTitle' => $ this -> droppedPageTitle , 'blockName' => $ this -> block -> getNameForLog ( ) ] , 'cms_nav_item_page_block_item' , $ this -> id ) ; }
Event after insert
Event after insert