kernel/classes/ezcontentlanguage.php
function objectCount()
    {
        $db = eZDB::instance();

        $languageID = $this->ID;
        if ( $db->databaseName() == 'oracle' )
        {
            $whereSQL = "bitand( language_mask, $languageID ) > 0";
        }
        else
        {
            $whereSQL = "language_mask & $languageID > 0";
        }

        $count = $db->arrayQuery( "SELECT COUNT(*) AS count FROM ezcontentobject WHERE $whereSQL" );
        return $count[0]['count'];
    }
function objectCount()
    {
        $db = eZDB::instance();

        $languageID = $this->ID;
        if ( $db->databaseName() == 'oracle' )
        {
            $whereSQL = "bitand( language_mask, $languageID ) > 0";
        }
        else
        {
            $whereSQL = "language_mask & $languageID > 0";
        }

        $count = $db->arrayQuery( "SELECT COUNT(*) AS count FROM ezcontentobject WHERE $whereSQL" );
        return $count[0]['count'];
    }
function objectCount ( ) { $ db = eZDB :: instance ( ) ; $ languageID = $ this -> ID ; if ( $ db -> databaseName ( ) == 'oracle' ) { $ whereSQL = "bitand( language_mask, $languageID ) > 0" ; } else { $ whereSQL = "language_mask & $languageID > 0" ; } $ count = $ db -> arrayQuery ( "SELECT COUNT(*) AS count FROM ezcontentobject WHERE $whereSQL" ) ; return $ count [ 0 ] [ 'count' ] ; }
\return The count of objects containing the translation in this language.
\ return The count of objects containing the translation in this language .