public function updateContentPositionAction()
    {
        $content = ProductAssociatedContentQuery::create()->findPk($this->getRequest()->get('content_id', null));

        return $this->genericUpdatePositionAction(
            $content,
            TheliaEvents::PRODUCT_UPDATE_CONTENT_POSITION
        );
    }
public function updateContentPositionAction()
    {
        $content = ProductAssociatedContentQuery::create()->findPk($this->getRequest()->get('content_id', null));

        return $this->genericUpdatePositionAction(
            $content,
            TheliaEvents::PRODUCT_UPDATE_CONTENT_POSITION
        );
    }
public function updateContentPositionAction ( ) { $ content = ProductAssociatedContentQuery :: create ( ) -> findPk ( $ this -> getRequest ( ) -> get ( 'content_id' , null ) ) ; return $ this -> genericUpdatePositionAction ( $ content , TheliaEvents :: PRODUCT_UPDATE_CONTENT_POSITION ) ; }
Update related content position
Update related content position