public static function updateMenulink($post)
    {
        if(self::isInMenuLinks($post->postID, $post->getTable())) {
            $menuLinks = MenuLink::where('belongsToID', $post->postID)->where('belongsTo', $post->getTable())->get();
            foreach($menuLinks as $menuLink){
                $menuLink->params = $post->menuLinkParameters();
                $menuLink->save();
            }
        }
    }