protected function getInsertObjectIdentitySql($identifier, $classId, $entriesInheriting)
    {
        $query = <<<QUERY
              INSERT INTO %s (class_id, object_identifier, entries_inheriting)
              VALUES (%d, %s, %s)
QUERY;

        return sprintf(
            $query,
            $this->options['oid_table_name'],
            $classId,
            $this->connection->quote($identifier),
            $this->connection->getDatabasePlatform()->convertBooleans($entriesInheriting)
        );
    }
protected function getInsertObjectIdentitySql($identifier, $classId, $entriesInheriting)
    {
        $query = <<<QUERY
              INSERT INTO %s (class_id, object_identifier, entries_inheriting)
              VALUES (%d, %s, %s)
QUERY;

        return sprintf(
            $query,
            $this->options['oid_table_name'],
            $classId,
            $this->connection->quote($identifier),
            $this->connection->getDatabasePlatform()->convertBooleans($entriesInheriting)
        );
    }
protected function getInsertObjectIdentitySql ( $ identifier , $ classId , $ entriesInheriting ) { $ query =  <<<QUERY
              INSERT INTO %s (class_id, object_identifier, entries_inheriting)
              VALUES (%d, %s, %s)
QUERY ; return sprintf ( $ query , $ this -> options [ 'oid_table_name' ] , $ classId , $ this -> connection -> quote ( $ identifier ) , $ this -> connection -> getDatabasePlatform ( ) -> convertBooleans ( $ entriesInheriting ) ) ; }
Constructs the SQL for inserting an object identity.

@param string $identifier
@param int    $classId
@param bool   $entriesInheriting

@return string
Constructs the SQL for inserting an object identity .