KnowbaseItemTranslation::getNumberOfTranslationsForItem PHP Method

getNumberOfTranslationsForItem() static public method

Return the number of translations for an item
static public getNumberOfTranslationsForItem ( $item ) : the
return the number of translations for this item
    static function getNumberOfTranslationsForItem($item)
    {
        return countElementsInTable(getTableForItemType(__CLASS__), ['knowbaseitems_id' => $item->getID()]);
    }